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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006167/0.006167, allocations: 102.2 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 196 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8503/0.8503, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 57.83 kB / 0.5809 GB, free: 1.043 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1768, allocations: 80.21 MB / 0.6592 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.172/0.3489, allocations: 149.1 MB / 0.8048 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004456/0.3534, allocations: 3.61 MB / 0.8084 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.3536, allocations: 0 / 0.8084 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.354, allocations: 67.58 kB / 0.8084 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.3545, allocations: 131.3 kB / 0.8086 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.3575, allocations: 1.01 MB / 0.8095 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000463/0.3579, allocations: 319.7 kB / 0.8098 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.308e-05/0.358, allocations: 9.562 kB / 0.8099 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.3585, allocations: 199.2 kB / 0.81 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.3587, allocations: 123.6 kB / 0.8102 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.3588, allocations: 15.94 kB / 0.8102 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.3611, allocations: 1.212 MB / 0.8114 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3612, allocations: 75.78 kB / 0.8114 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.3614, allocations: 111.5 kB / 0.8115 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.3631, allocations: 0.6465 MB / 0.8122 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3631, allocations: 0 / 0.8122 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3631, allocations: 3.938 kB / 0.8122 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.3631, allocations: 0 / 0.8122 GB, free: 0.6367 MB / 0.6387 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.001397/0.3645, allocations: 0.5851 MB / 0.8127 GB, free: 4 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 0.3772/0.7418, allocations: 6.422 kB / 0.8127 GB, free: 157.2 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.7419, allocations: 52.48 kB / 0.8128 GB, free: 157.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.7434, allocations: 132.6 kB / 0.8129 GB, free: 157.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.7438, allocations: 228.5 kB / 0.8131 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.7438, allocations: 14.16 kB / 0.8132 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.7438, allocations: 17.22 kB / 0.8132 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.7446, allocations: 336.9 kB / 0.8135 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.7446, allocations: 5.344 kB / 0.8135 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.7447, allocations: 12.72 kB / 0.8135 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.7447, allocations: 14.7 kB / 0.8135 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.7453, allocations: 322.6 kB / 0.8138 GB, free: 156.9 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.7469, allocations: 1.107 MB / 0.8149 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.7474, allocations: 191 kB / 0.8151 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.7476, allocations: 80.3 kB / 0.8152 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/0.7481, allocations: 461.7 kB / 0.8156 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.7481, allocations: 35.72 kB / 0.8156 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.7481, allocations: 0 / 0.8156 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.0006731/0.7488, allocations: 262.6 kB / 0.8159 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.7488, allocations: 57.78 kB / 0.816 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.7491, allocations: 208.1 kB / 0.8162 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.7491, allocations: 30.73 kB / 0.8162 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.7492, allocations: 149.6 kB / 0.8163 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.7492, allocations: 72.28 kB / 0.8164 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.7493, allocations: 55.08 kB / 0.8164 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.657e-05/0.7494, allocations: 335 kB / 0.8168 GB, free: 154.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.7495, allocations: 67.84 kB / 0.8168 GB, free: 154.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.7497, allocations: 160.2 kB / 0.817 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.7501, allocations: 246.8 kB / 0.8172 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7501, allocations: 1.812 kB / 0.8172 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005646/0.7506, allocations: 283.7 kB / 0.8175 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.7507, allocations: 7.891 kB / 0.8175 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.7507, allocations: 2.625 kB / 0.8175 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.7507, allocations: 8.5 kB / 0.8175 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.751, allocations: 64.38 kB / 0.8176 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.751, allocations: 7.125 kB / 0.8176 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.7512, allocations: 28.94 kB / 0.8176 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.7513, allocations: 10.19 kB / 0.8176 GB, free: 154.5 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.7514, allocations: 145.9 kB / 0.8178 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.7515, allocations: 23.2 kB / 0.8178 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/0.7521, allocations: 280.4 kB / 0.818 GB, free: 154.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.7521, allocations: 3.219 kB / 0.818 GB, free: 154.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7522, allocations: 9.047 kB / 0.8181 GB, free: 154.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7522, allocations: 1.891 kB / 0.8181 GB, free: 154.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000895/0.7531, allocations: 0.581 MB / 0.8186 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.7531, allocations: 1.203 kB / 0.8186 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.7533, allocations: 30.34 kB / 0.8187 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.7533, allocations: 1.562 kB / 0.8187 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.7533, allocations: 4.047 kB / 0.8187 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.7533, allocations: 5.375 kB / 0.8187 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7533, allocations: 0.6094 kB / 0.8187 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.7539, allocations: 354 kB / 0.819 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.7541, allocations: 122.7 kB / 0.8191 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.7541, allocations: 8.891 kB / 0.8191 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.7544, allocations: 12.56 kB / 0.8191 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.7544, allocations: 17.44 kB / 0.8192 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.7545, allocations: 11.66 kB / 0.8192 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001633/0.7546, allocations: 154.2 kB / 0.8193 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7546, allocations: 0 / 0.8193 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006098/0.7553, allocations: 117.3 kB / 0.8194 GB, free: 153.4 MB / 0.6387 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.7564, allocations: 0.9952 MB / 0.8204 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.7569, allocations: 206.3 kB / 0.8206 GB, free: 152.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7569, allocations: 1.531 kB / 0.8206 GB, free: 152.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.7571, allocations: 110.1 kB / 0.8207 GB, free: 152.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.7577, allocations: 100.1 kB / 0.8208 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.7606, allocations: 2.487 MB / 0.8232 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.7609, allocations: 0.7361 MB / 0.8239 GB, free: 150.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.7611, allocations: 63.09 kB / 0.824 GB, free: 150.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.7612, allocations: 55.02 kB / 0.8241 GB, free: 150 MB / 0.6387 GB Notification: Performance of SimCode: time 3.5e-07/0.7612, allocations: 1.031 kB / 0.8241 GB, free: 150 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.7878, allocations: 7.811 MB / 0.8317 GB, free: 147.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.652, allocations: 9.5 kB / 0.8317 GB, free: 147.5 MB / 0.6387 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/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)