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.001397/0.001397, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8291/0.8291, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 395.4 MB, free: 10.87 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.0009131/0.0009132, allocations: 103.8 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.5e-05, allocations: 4 kB / 0.5535 GB, free: 8.992 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4578, allocations: 82.29 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.357/5.815, allocations: 1.884 GB / 2.518 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/5.815, allocations: 67.97 kB / 2.518 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09236/5.908, allocations: 47.36 MB / 2.564 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/5.908, allocations: 0 / 2.564 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.686e-06/5.908, allocations: 4 kB / 2.564 GB, free: 106.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.000934/5.909, allocations: 0.5529 MB / 2.564 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/5.909, allocations: 8.031 kB / 2.565 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/5.91, allocations: 139.6 kB / 2.565 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/5.91, allocations: 218.7 kB / 2.565 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/5.91, allocations: 8 kB / 2.565 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/5.91, allocations: 8 kB / 2.565 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004418/5.911, allocations: 320.5 kB / 2.565 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/5.911, allocations: 282 kB / 2.565 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/5.911, allocations: 0 / 2.565 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/5.911, allocations: 7.953 kB / 2.565 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/5.911, allocations: 15.94 kB / 2.565 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/5.912, allocations: 1.094 MB / 2.567 GB, free: 104 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/5.913, allocations: 182.6 kB / 2.567 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/5.913, allocations: 77.02 kB / 2.567 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/5.913, allocations: 352.4 kB / 2.567 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/5.913, allocations: 38.56 kB / 2.567 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 1.734e-06/5.913, allocations: 0 / 2.567 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.0004143/5.914, allocations: 176.2 kB / 2.567 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/5.914, allocations: 59.33 kB / 2.567 GB, free: 103 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/5.914, allocations: 148.9 kB / 2.568 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/5.914, allocations: 29.69 kB / 2.568 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/5.914, allocations: 148 kB / 2.568 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/5.914, allocations: 78.89 kB / 2.568 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/5.914, allocations: 0 / 2.568 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.069e-05/5.914, allocations: 322.8 kB / 2.568 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/5.914, allocations: 64.23 kB / 2.568 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/5.914, allocations: 147.7 kB / 2.568 GB, free: 102 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/5.914, allocations: 84.62 kB / 2.568 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/5.914, allocations: 4 kB / 2.568 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003595/5.915, allocations: 249.4 kB / 2.569 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/5.915, allocations: 4 kB / 2.569 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/5.915, allocations: 7.984 kB / 2.569 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/5.915, allocations: 4 kB / 2.569 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/5.915, allocations: 51.92 kB / 2.569 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/5.915, allocations: 7.938 kB / 2.569 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/5.915, allocations: 23.73 kB / 2.569 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/5.915, allocations: 16 kB / 2.569 GB, free: 101.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 7.992e-05/5.915, allocations: 120.9 kB / 2.569 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002777/5.916, allocations: 176 kB / 2.569 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/5.916, allocations: 11.91 kB / 2.569 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/5.916, allocations: 202.2 kB / 2.569 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/5.916, allocations: 7.984 kB / 2.569 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/5.916, allocations: 7.922 kB / 2.569 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/5.916, allocations: 0 / 2.569 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/5.917, allocations: 496.4 kB / 2.57 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/5.917, allocations: 7.938 kB / 2.57 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/5.917, allocations: 27.98 kB / 2.57 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/5.917, allocations: 4 kB / 2.57 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/5.917, allocations: 0 / 2.57 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/5.917, allocations: 0 / 2.57 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.119e-05/5.917, allocations: 4 kB / 2.57 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/5.917, allocations: 316.3 kB / 2.57 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/5.917, allocations: 116.8 kB / 2.57 GB, free: 99.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/5.917, allocations: 0 / 2.57 GB, free: 99.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/5.918, allocations: 15.98 kB / 2.57 GB, free: 99.97 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/5.918, allocations: 19.98 kB / 2.57 GB, free: 99.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/5.918, allocations: 11.98 kB / 2.57 GB, free: 99.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.134e-05/5.918, allocations: 118.6 kB / 2.57 GB, free: 99.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/5.918, allocations: 0 / 2.57 GB, free: 99.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005603/5.918, allocations: 147.8 kB / 2.57 GB, free: 99.68 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.001196/5.92, allocations: 1.601 MB / 2.572 GB, free: 98.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002595/5.92, allocations: 183.6 kB / 2.572 GB, free: 97.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/5.92, allocations: 0 / 2.572 GB, free: 97.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/5.92, allocations: 71.91 kB / 2.572 GB, free: 97.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/5.92, allocations: 50.52 kB / 2.572 GB, free: 97.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/5.921, allocations: 308.6 kB / 2.573 GB, free: 97.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/5.921, allocations: 0.7403 MB / 2.573 GB, free: 96.64 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002694/5.922, allocations: 53.81 kB / 2.573 GB, free: 96.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/5.922, allocations: 51.42 kB / 2.573 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/5.922, allocations: 3.938 kB / 2.573 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/5.949, allocations: 9.527 MB / 2.583 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/5.95, allocations: 113.5 kB / 2.583 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/8.149, allocations: 0 / 2.583 GB, free: 86.86 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)