Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001651, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.044/1.044, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009618/0.0009617, allocations: 91.52 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.32e-05, allocations: 2.719 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1545, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.216/5.371, allocations: 1.884 GB / 2.525 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/5.371, allocations: 71.72 kB / 2.525 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6721/6.043, allocations: 48.07 MB / 2.572 GB, free: 243.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/6.044, allocations: 0 / 2.572 GB, free: 243.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.768e-06/6.044, allocations: 7.906 kB / 2.572 GB, free: 243.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001079/6.045, allocations: 0.5584 MB / 2.572 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/6.045, allocations: 11.34 kB / 2.572 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/6.045, allocations: 54.05 kB / 2.573 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/6.046, allocations: 130.2 kB / 2.573 GB, free: 243 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/6.046, allocations: 219.4 kB / 2.573 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/6.046, allocations: 19.58 kB / 2.573 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/6.046, allocations: 13.94 kB / 2.573 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/6.047, allocations: 336 kB / 2.573 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/6.047, allocations: 0 / 2.573 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/6.047, allocations: 15.92 kB / 2.573 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/6.047, allocations: 19.61 kB / 2.573 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/6.047, allocations: 310.3 kB / 2.574 GB, free: 242.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/6.049, allocations: 1.163 MB / 2.575 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/6.049, allocations: 188.6 kB / 2.575 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/6.05, allocations: 83.98 kB / 2.575 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003709/6.05, allocations: 363.5 kB / 2.575 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/6.05, allocations: 34.64 kB / 2.575 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/6.05, allocations: 7.938 kB / 2.575 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.0004698/6.05, allocations: 187.2 kB / 2.575 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/6.05, allocations: 55.28 kB / 2.576 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/6.051, allocations: 195.7 kB / 2.576 GB, free: 240.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/6.051, allocations: 29.69 kB / 2.576 GB, free: 240.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/6.051, allocations: 143.8 kB / 2.576 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/6.051, allocations: 66.84 kB / 2.576 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/6.051, allocations: 4 kB / 2.576 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.887e-05/6.051, allocations: 334.8 kB / 2.576 GB, free: 240 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/6.051, allocations: 75.02 kB / 2.576 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/6.051, allocations: 154.7 kB / 2.576 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/6.051, allocations: 97.25 kB / 2.577 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/6.051, allocations: 0 / 2.577 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004008/6.052, allocations: 269.8 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/6.052, allocations: 7.438 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/6.052, allocations: 3.656 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/6.052, allocations: 3.938 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/6.052, allocations: 61.95 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/6.052, allocations: 3.188 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/6.052, allocations: 43.09 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/6.052, allocations: 11.62 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.612e-05/6.052, allocations: 124.4 kB / 2.577 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/6.052, allocations: 18.94 kB / 2.577 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/6.053, allocations: 237.5 kB / 2.577 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/6.053, allocations: 3.906 kB / 2.577 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/6.053, allocations: 0 / 2.577 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/6.053, allocations: 0 / 2.577 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/6.054, allocations: 0.5386 MB / 2.578 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/6.054, allocations: 0 / 2.578 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/6.054, allocations: 35.05 kB / 2.578 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/6.054, allocations: 4.062 kB / 2.578 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/6.054, allocations: 7.844 kB / 2.578 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/6.054, allocations: 3.984 kB / 2.578 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/6.054, allocations: 0 / 2.578 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/6.054, allocations: 324 kB / 2.578 GB, free: 238.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/6.054, allocations: 120.3 kB / 2.578 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/6.054, allocations: 3.906 kB / 2.578 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/6.055, allocations: 15.67 kB / 2.578 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/6.055, allocations: 19.53 kB / 2.578 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/6.055, allocations: 7.938 kB / 2.578 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001042/6.055, allocations: 155.4 kB / 2.579 GB, free: 238.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/6.055, allocations: 0 / 2.579 GB, free: 238.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000729/6.056, allocations: 160.7 kB / 2.579 GB, free: 238.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001329/6.057, allocations: 1.528 MB / 2.58 GB, free: 237 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003173/6.057, allocations: 186.8 kB / 2.58 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/6.057, allocations: 0 / 2.58 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.922e-05/6.057, allocations: 76.75 kB / 2.58 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/6.058, allocations: 90.53 kB / 2.581 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007303/6.059, allocations: 348.8 kB / 2.581 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/6.059, allocations: 0.7328 MB / 2.582 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002991/6.059, allocations: 66.02 kB / 2.582 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/6.059, allocations: 51.42 kB / 2.582 GB, free: 235.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/6.059, allocations: 0 / 2.582 GB, free: 235.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04346/6.103, allocations: 17.4 MB / 2.599 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/6.103, allocations: 129.2 kB / 2.599 GB, free: 218 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/8.429, allocations: 7.984 kB / 2.599 GB, free: 218 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)