Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 186.9 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 0.6366 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008781/0.000878, allocations: 99.83 kB / 0.7509 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 8 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2885, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.702/5.99, allocations: 2.09 GB / 3.078 GB, free: 93.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/5.991, allocations: 74.78 kB / 3.078 GB, free: 93.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05698/6.047, allocations: 30.05 MB / 3.108 GB, free: 63.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/6.048, allocations: 0 / 3.108 GB, free: 63.62 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.307e-06/6.048, allocations: 0 / 3.108 GB, free: 63.62 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005255/6.048, allocations: 388.7 kB / 3.108 GB, free: 63.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/6.048, allocations: 12.02 kB / 3.108 GB, free: 63.18 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/6.048, allocations: 46.55 kB / 3.108 GB, free: 63.13 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/6.049, allocations: 31.92 kB / 3.108 GB, free: 63.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/6.049, allocations: 167 kB / 3.108 GB, free: 62.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/6.049, allocations: 8 kB / 3.108 GB, free: 62.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/6.049, allocations: 11.91 kB / 3.108 GB, free: 62.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/6.049, allocations: 77.59 kB / 3.108 GB, free: 62.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/6.049, allocations: 3.938 kB / 3.108 GB, free: 62.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/6.049, allocations: 0 / 3.108 GB, free: 62.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/6.049, allocations: 0 / 3.108 GB, free: 62.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/6.049, allocations: 55.89 kB / 3.108 GB, free: 62.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/6.049, allocations: 181.6 kB / 3.108 GB, free: 62.51 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/6.05, allocations: 82.69 kB / 3.109 GB, free: 62.42 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/6.05, allocations: 178.1 kB / 3.109 GB, free: 62.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/6.05, allocations: 42.56 kB / 3.109 GB, free: 62.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/6.05, allocations: 0 / 3.109 GB, free: 62.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001221/6.051, allocations: 0.5282 MB / 3.109 GB, free: 61.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/6.051, allocations: 63.39 kB / 3.109 GB, free: 61.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/6.051, allocations: 92.95 kB / 3.109 GB, free: 61.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/6.051, allocations: 29.7 kB / 3.109 GB, free: 61.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/6.051, allocations: 84.52 kB / 3.11 GB, free: 61.28 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/6.051, allocations: 67 kB / 3.11 GB, free: 61.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/6.051, allocations: 4 kB / 3.11 GB, free: 61.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/6.051, allocations: 318.8 kB / 3.11 GB, free: 60.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/6.051, allocations: 44.03 kB / 3.11 GB, free: 60.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/6.051, allocations: 68.62 kB / 3.11 GB, free: 60.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7e-05/6.052, allocations: 41.97 kB / 3.11 GB, free: 60.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/6.052, allocations: 0 / 3.11 GB, free: 60.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001934/6.052, allocations: 163.5 kB / 3.11 GB, free: 60.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/6.052, allocations: 4.781 kB / 3.11 GB, free: 60.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/6.052, allocations: 7.938 kB / 3.11 GB, free: 60.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/6.052, allocations: 0 / 3.11 GB, free: 60.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/6.052, allocations: 43.92 kB / 3.11 GB, free: 60.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/6.052, allocations: 0 / 3.11 GB, free: 60.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/6.052, allocations: 8 kB / 3.11 GB, free: 60.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/6.052, allocations: 7.953 kB / 3.11 GB, free: 60.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/6.052, allocations: 129.7 kB / 3.11 GB, free: 60.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/6.052, allocations: 15.84 kB / 3.11 GB, free: 60.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/6.052, allocations: 16.44 kB / 3.11 GB, free: 60.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/6.052, allocations: 0 / 3.11 GB, free: 60.33 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/6.052, allocations: 4 kB / 3.11 GB, free: 60.33 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/6.052, allocations: 4 kB / 3.11 GB, free: 60.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/6.052, allocations: 193.6 kB / 3.111 GB, free: 60.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/6.052, allocations: 4 kB / 3.111 GB, free: 60.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/6.053, allocations: 35.92 kB / 3.111 GB, free: 60.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/6.053, allocations: 4 kB / 3.111 GB, free: 60.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/6.053, allocations: 7.984 kB / 3.111 GB, free: 60.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/6.053, allocations: 0 / 3.111 GB, free: 60.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/6.053, allocations: 0 / 3.111 GB, free: 60.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/6.053, allocations: 206.8 kB / 3.111 GB, free: 59.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/6.053, allocations: 93.06 kB / 3.111 GB, free: 59.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/6.053, allocations: 4 kB / 3.111 GB, free: 59.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/6.053, allocations: 11.98 kB / 3.111 GB, free: 59.69 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/6.053, allocations: 7.984 kB / 3.111 GB, free: 59.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/6.053, allocations: 8 kB / 3.111 GB, free: 59.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.394e-05/6.053, allocations: 79.28 kB / 3.111 GB, free: 59.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/6.053, allocations: 0 / 3.111 GB, free: 59.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003609/6.054, allocations: 59.98 kB / 3.111 GB, free: 59.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009813/6.055, allocations: 1.205 MB / 3.112 GB, free: 58.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002098/6.055, allocations: 103.8 kB / 3.112 GB, free: 58.22 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/6.055, allocations: 4 kB / 3.112 GB, free: 58.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/6.055, allocations: 62.09 kB / 3.112 GB, free: 58.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/6.055, allocations: 8 kB / 3.112 GB, free: 58.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/6.056, allocations: 1.461 MB / 3.114 GB, free: 56.63 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/6.057, allocations: 0.7049 MB / 3.115 GB, free: 55.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001237/6.057, allocations: 20.64 kB / 3.115 GB, free: 55.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/6.057, allocations: 27.42 kB / 3.115 GB, free: 55.85 MB / 0.948 GB Notification: Performance of SimCode: time 2.1e-07/6.057, allocations: 0 / 3.115 GB, free: 55.85 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/6.082, allocations: 11.1 MB / 3.125 GB, free: 44.87 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/6.082, allocations: 175.3 kB / 3.126 GB, free: 44.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/8.052, allocations: 0 / 3.126 GB, free: 44.62 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)