Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirProperties") translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001642, allocations: 180.9 kB / 7.651 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.8944/0.8944, allocations: 133.6 MB / 141.6 MB, free: 2.824 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.603/1.603, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0009002/0.0009001, allocations: 102.5 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.718e-05, allocations: 4 kB / 0.5534 GB, free: 9.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5147, allocations: 82.3 MB / 0.6338 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.663/5.178, allocations: 1.884 GB / 2.518 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/5.178, allocations: 67.97 kB / 2.518 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09464/5.273, allocations: 47.36 MB / 2.564 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/5.273, allocations: 0 / 2.564 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.135e-05/5.273, allocations: 4 kB / 2.564 GB, free: 108.5 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.001095/5.274, allocations: 0.5546 MB / 2.564 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/5.274, allocations: 8.031 kB / 2.564 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/5.275, allocations: 143.6 kB / 2.565 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/5.276, allocations: 210.8 kB / 2.565 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/5.276, allocations: 8 kB / 2.565 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/5.276, allocations: 8 kB / 2.565 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004828/5.276, allocations: 320.6 kB / 2.565 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/5.277, allocations: 278 kB / 2.565 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/5.277, allocations: 0 / 2.565 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/5.277, allocations: 3.953 kB / 2.565 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/5.277, allocations: 19.98 kB / 2.565 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/5.278, allocations: 1.098 MB / 2.566 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/5.279, allocations: 178.6 kB / 2.567 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/5.279, allocations: 80.94 kB / 2.567 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/5.279, allocations: 356.4 kB / 2.567 GB, free: 105 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/5.279, allocations: 38.56 kB / 2.567 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 1.863e-06/5.279, allocations: 0 / 2.567 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.0004768/5.28, allocations: 178.5 kB / 2.567 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/5.28, allocations: 51.41 kB / 2.567 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/5.28, allocations: 144.8 kB / 2.567 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/5.28, allocations: 29.7 kB / 2.567 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/5.28, allocations: 148 kB / 2.568 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/5.28, allocations: 70.94 kB / 2.568 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/5.28, allocations: 4 kB / 2.568 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.5e-05/5.28, allocations: 322.8 kB / 2.568 GB, free: 104 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/5.28, allocations: 60.25 kB / 2.568 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/5.28, allocations: 155.6 kB / 2.568 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/5.28, allocations: 84.69 kB / 2.568 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/5.28, allocations: 0 / 2.568 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003797/5.281, allocations: 249.4 kB / 2.568 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/5.281, allocations: 13.88 kB / 2.569 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/5.281, allocations: 4 kB / 2.569 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/5.281, allocations: 4 kB / 2.569 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/5.281, allocations: 59.91 kB / 2.569 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/5.281, allocations: 4 kB / 2.569 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/5.281, allocations: 19.75 kB / 2.569 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/5.281, allocations: 19.98 kB / 2.569 GB, free: 103.3 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.863e-05/5.281, allocations: 124.8 kB / 2.569 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/5.282, allocations: 11.91 kB / 2.569 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/5.282, allocations: 208.9 kB / 2.569 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/5.282, allocations: 4 kB / 2.569 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/5.282, allocations: 3.984 kB / 2.569 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/5.282, allocations: 0 / 2.569 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/5.283, allocations: 0.4888 MB / 2.569 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/5.283, allocations: 0 / 2.569 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/5.283, allocations: 31.98 kB / 2.569 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/5.283, allocations: 7.891 kB / 2.569 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/5.283, allocations: 4 kB / 2.569 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/5.283, allocations: 3.938 kB / 2.569 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/5.283, allocations: 0 / 2.569 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/5.283, allocations: 316.4 kB / 2.57 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/5.283, allocations: 116.8 kB / 2.57 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/5.283, allocations: 4 kB / 2.57 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/5.283, allocations: 11.98 kB / 2.57 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/5.284, allocations: 7.984 kB / 2.57 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/5.284, allocations: 23.98 kB / 2.57 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.302e-05/5.284, allocations: 118.5 kB / 2.57 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/5.284, allocations: 0 / 2.57 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006097/5.284, allocations: 139.8 kB / 2.57 GB, free: 101.6 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.0009155/5.285, allocations: 0.7204 MB / 2.571 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002785/5.285, allocations: 177.6 kB / 2.571 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/5.285, allocations: 0 / 2.571 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/5.286, allocations: 80.66 kB / 2.571 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/5.286, allocations: 48.08 kB / 2.571 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/5.287, allocations: 227 kB / 2.571 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/5.287, allocations: 0.7326 MB / 2.572 GB, free: 99.53 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002867/5.287, allocations: 53.8 kB / 2.572 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/5.287, allocations: 23.44 kB / 2.572 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/5.287, allocations: 4 kB / 2.572 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of Templates: time 0.0109/5.298, allocations: 6.929 MB / 2.579 GB, free: 92.57 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1)