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.007877/0.007877, allocations: 168.9 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.843/0.843, allocations: 135.2 MB / 151 MB, free: 13.79 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.961/1.961, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.25 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004734, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5731/0.5736, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.982/5.556, allocations: 1.884 GB / 2.534 GB, free: 55.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/5.556, allocations: 75.78 kB / 2.534 GB, free: 55.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09726/5.654, allocations: 48.12 MB / 2.581 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/5.654, allocations: 4 kB / 2.581 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.057e-05/5.654, allocations: 4 kB / 2.581 GB, free: 12.8 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.001178/5.655, allocations: 0.5557 MB / 2.582 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/5.655, allocations: 8.031 kB / 2.582 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.597e-05/5.655, allocations: 58.5 kB / 2.582 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/5.656, allocations: 147.6 kB / 2.582 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/5.657, allocations: 222.8 kB / 2.582 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/5.657, allocations: 12.38 kB / 2.582 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/5.657, allocations: 20 kB / 2.582 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/5.657, allocations: 326.1 kB / 2.582 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/5.657, allocations: 8 kB / 2.582 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/5.657, allocations: 8 kB / 2.582 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/5.657, allocations: 19.89 kB / 2.582 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005012/5.658, allocations: 324 kB / 2.583 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/5.659, allocations: 1.171 MB / 2.584 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/5.66, allocations: 182.7 kB / 2.584 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/5.66, allocations: 449.5 kB / 2.584 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/5.661, allocations: 46.55 kB / 2.584 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 2.695e-06/5.661, allocations: 0 / 2.584 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.0007063/5.661, allocations: 341.5 kB / 2.585 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/5.661, allocations: 55.41 kB / 2.585 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/5.661, allocations: 179.2 kB / 2.585 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/5.662, allocations: 33.7 kB / 2.585 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/5.662, allocations: 147.9 kB / 2.585 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/5.662, allocations: 70.98 kB / 2.585 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/5.662, allocations: 12 kB / 2.585 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.788e-05/5.662, allocations: 326.8 kB / 2.586 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/5.662, allocations: 68.22 kB / 2.586 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/5.662, allocations: 160.6 kB / 2.586 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/5.662, allocations: 91.36 kB / 2.586 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/5.662, allocations: 4 kB / 2.586 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004486/5.663, allocations: 281.1 kB / 2.586 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/5.663, allocations: 8 kB / 2.586 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/5.663, allocations: 7.984 kB / 2.586 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/5.663, allocations: 4.375 kB / 2.586 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/5.663, allocations: 59.86 kB / 2.586 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/5.663, allocations: 8 kB / 2.586 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/5.663, allocations: 43.52 kB / 2.586 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/5.663, allocations: 16 kB / 2.586 GB, free: 6.973 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 () * Number of clocked 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 0.0001265/5.663, allocations: 141.7 kB / 2.586 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/5.664, allocations: 19.81 kB / 2.586 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/5.664, allocations: 247.3 kB / 2.587 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/5.664, allocations: 4 kB / 2.587 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/5.664, allocations: 3.938 kB / 2.587 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/5.664, allocations: 0 / 2.587 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/5.665, allocations: 0.5474 MB / 2.587 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/5.665, allocations: 0 / 2.587 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/5.665, allocations: 31.98 kB / 2.587 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/5.665, allocations: 4.062 kB / 2.587 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/5.665, allocations: 11.98 kB / 2.587 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/5.665, allocations: 0 / 2.587 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/5.665, allocations: 0 / 2.587 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/5.665, allocations: 347.4 kB / 2.588 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/5.666, allocations: 120.8 kB / 2.588 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/5.666, allocations: 11.98 kB / 2.588 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/5.666, allocations: 15.94 kB / 2.588 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/5.666, allocations: 11.92 kB / 2.588 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/5.666, allocations: 19.98 kB / 2.588 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.708e-05/5.666, allocations: 149.4 kB / 2.588 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.666, allocations: 4 kB / 2.588 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006647/5.667, allocations: 163.8 kB / 2.588 GB, free: 5.023 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 () * Number of clocked 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.001409/5.668, allocations: 1.554 MB / 2.59 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003352/5.668, allocations: 191.7 kB / 2.59 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/5.669, allocations: 0 / 2.59 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/5.669, allocations: 91.89 kB / 2.59 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/5.669, allocations: 85.7 kB / 2.59 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3501/6.019, allocations: 3.104 MB / 2.593 GB, free: 236.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/6.02, allocations: 0.7384 MB / 2.594 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004464/6.02, allocations: 57.64 kB / 2.594 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/6.02, allocations: 55.52 kB / 2.594 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.684e-06/6.02, allocations: 0.9062 kB / 2.594 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04512/6.065, allocations: 15.89 MB / 2.609 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/6.066, allocations: 156.5 kB / 2.609 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/8.42, allocations: 0 / 2.609 GB, free: 235.1 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)