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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01096/0.01096, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.002206/0.002206, allocations: 203.6 kB / 16.68 MB, free: 5.969 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.569/1.569, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 0.5863 GB, free: 2.672 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5352, allocations: 81.02 MB / 0.6654 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1987/0.734, allocations: 149.1 MB / 0.811 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004744/0.7388, allocations: 3.602 MB / 0.8145 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.739, allocations: 4 kB / 0.8145 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.7394, allocations: 63.64 kB / 0.8146 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.7398, allocations: 135.2 kB / 0.8147 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.7427, allocations: 1.018 MB / 0.8157 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004523/0.7432, allocations: 323.7 kB / 0.816 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.7432, allocations: 9.562 kB / 0.816 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.7437, allocations: 191.2 kB / 0.8162 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.7439, allocations: 127.6 kB / 0.8163 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.7439, allocations: 12 kB / 0.8163 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.7462, allocations: 1.227 MB / 0.8175 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.7463, allocations: 67.78 kB / 0.8176 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.7465, allocations: 111.5 kB / 0.8177 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.7477, allocations: 0.6401 MB / 0.8183 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7477, allocations: 0 / 0.8183 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.41e-07/0.7477, allocations: 0 / 0.8183 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.7477, allocations: 0 / 0.8183 GB, free: 3.766 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.001225/0.7489, allocations: 0.5957 MB / 0.8189 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.749, allocations: 8.031 kB / 0.8189 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.7501, allocations: 136.7 kB / 0.8191 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.7504, allocations: 224 kB / 0.8193 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.7505, allocations: 20.3 kB / 0.8193 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.7505, allocations: 23.98 kB / 0.8193 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.7511, allocations: 330.3 kB / 0.8196 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.7511, allocations: 7.938 kB / 0.8196 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.7511, allocations: 12 kB / 0.8196 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.7512, allocations: 15.98 kB / 0.8197 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.7517, allocations: 316.1 kB / 0.82 GB, free: 1.996 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.001756/0.7535, allocations: 1.121 MB / 0.8211 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.754, allocations: 182.5 kB / 0.8212 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.7542, allocations: 88.8 kB / 0.8213 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/0.7548, allocations: 461.5 kB / 0.8218 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.7548, allocations: 34.5 kB / 0.8218 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.7548, allocations: 0 / 0.8218 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.0007554/0.7556, allocations: 266.8 kB / 0.822 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.7557, allocations: 51.41 kB / 0.8221 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.7559, allocations: 207.1 kB / 0.8223 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.7559, allocations: 25.7 kB / 0.8223 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.7561, allocations: 152.2 kB / 0.8225 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.7561, allocations: 83.31 kB / 0.8225 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.7562, allocations: 53.69 kB / 0.8226 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7564, allocations: 326.8 kB / 0.8229 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.7565, allocations: 68.22 kB / 0.823 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.7567, allocations: 164.7 kB / 0.8231 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.7571, allocations: 249 kB / 0.8234 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7571, allocations: 0 / 0.8234 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005219/0.7576, allocations: 290.9 kB / 0.8236 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7577, allocations: 7.938 kB / 0.8236 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.7577, allocations: 7.984 kB / 0.8237 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.7577, allocations: 7.938 kB / 0.8237 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.758, allocations: 55.92 kB / 0.8237 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.758, allocations: 8.375 kB / 0.8237 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.7582, allocations: 35.73 kB / 0.8238 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.7582, allocations: 11.98 kB / 0.8238 GB, free: 13.75 MB / 0.6544 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.000184/0.7584, allocations: 133.8 kB / 0.8239 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.7585, allocations: 27.89 kB / 0.8239 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005838/0.7591, allocations: 273.6 kB / 0.8242 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.7592, allocations: 11.88 kB / 0.8242 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7592, allocations: 0 / 0.8242 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.7592, allocations: 4 kB / 0.8242 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.76, allocations: 0.5921 MB / 0.8248 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.76, allocations: 0 / 0.8248 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.7602, allocations: 35.92 kB / 0.8248 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7602, allocations: 0 / 0.8248 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.7602, allocations: 8 kB / 0.8248 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7602, allocations: 0 / 0.8248 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7602, allocations: 0 / 0.8248 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.7608, allocations: 356.9 kB / 0.8252 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.761, allocations: 116.9 kB / 0.8253 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.761, allocations: 4 kB / 0.8253 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.7613, allocations: 11.98 kB / 0.8253 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.7613, allocations: 19.92 kB / 0.8253 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.7613, allocations: 15.98 kB / 0.8253 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001534/0.7615, allocations: 153.4 kB / 0.8255 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7615, allocations: 0 / 0.8255 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005401/0.7621, allocations: 123.8 kB / 0.8256 GB, free: 11.78 MB / 0.6544 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.0004773/0.7625, allocations: 220.2 kB / 0.8258 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.763, allocations: 201.9 kB / 0.826 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.763, allocations: 0 / 0.826 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.7631, allocations: 111.7 kB / 0.8261 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.7637, allocations: 92.67 kB / 0.8262 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008466/0.7646, allocations: 461.2 kB / 0.8266 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.765, allocations: 0.7445 MB / 0.8274 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.7653, allocations: 58.23 kB / 0.8274 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.7654, allocations: 23.44 kB / 0.8274 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7654, allocations: 0 / 0.8274 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of Templates: time 0.01116/0.7765, allocations: 5.515 MB / 0.8328 GB, free: 4.395 MB / 0.6544 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)