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: translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirProperties") translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001632/0.001632, allocations: 112.6 kB / 16.37 MB, free: 6 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.0019/0.0019, allocations: 196 kB / 17.31 MB, free: 5.613 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.774/0.774, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 60.05 kB / 0.5032 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3206, allocations: 80.19 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1508/0.4714, allocations: 149.1 MB / 0.7271 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003865/0.4753, allocations: 3.61 MB / 0.7306 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.4754, allocations: 0 / 0.7306 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.4757, allocations: 63.58 kB / 0.7307 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.476, allocations: 131.3 kB / 0.7308 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.4782, allocations: 1.022 MB / 0.7318 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.4786, allocations: 315.7 kB / 0.7321 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.4787, allocations: 9.562 kB / 0.7321 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.479, allocations: 195.1 kB / 0.7323 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.4792, allocations: 131.5 kB / 0.7324 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.4792, allocations: 16 kB / 0.7324 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.481, allocations: 1.216 MB / 0.7336 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.4811, allocations: 71.78 kB / 0.7337 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.4812, allocations: 103.5 kB / 0.7338 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009057/0.4821, allocations: 0.6407 MB / 0.7344 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4821, allocations: 0 / 0.7344 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4821, allocations: 0 / 0.7344 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4822, allocations: 0 / 0.7344 GB, free: 1.125 MB / 0.5606 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.001026/0.4832, allocations: 0.5928 MB / 0.735 GB, free: 496 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4832, allocations: 8.031 kB / 0.735 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.4844, allocations: 136.6 kB / 0.7351 GB, free: 352 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.4847, allocations: 224 kB / 0.7353 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4847, allocations: 20.31 kB / 0.7354 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.4848, allocations: 16 kB / 0.7354 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.4853, allocations: 330.3 kB / 0.7357 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4853, allocations: 4 kB / 0.7357 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.4854, allocations: 12 kB / 0.7357 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.4854, allocations: 15.98 kB / 0.7357 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.4859, allocations: 325.2 kB / 0.736 GB, free: 15.36 MB / 0.5762 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.001606/0.4875, allocations: 1.109 MB / 0.7371 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.488, allocations: 190.4 kB / 0.7373 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.4882, allocations: 84.75 kB / 0.7374 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005233/0.4887, allocations: 465.4 kB / 0.7378 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4888, allocations: 34.56 kB / 0.7379 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.4888, allocations: 3.938 kB / 0.7379 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.00064/0.4894, allocations: 258.3 kB / 0.7381 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.4895, allocations: 55.41 kB / 0.7382 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4896, allocations: 203.2 kB / 0.7384 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.4897, allocations: 33.7 kB / 0.7384 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.4898, allocations: 139.9 kB / 0.7385 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.4898, allocations: 78.92 kB / 0.7386 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.4899, allocations: 57.61 kB / 0.7386 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.49, allocations: 322.8 kB / 0.739 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.4902, allocations: 80.2 kB / 0.739 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.4904, allocations: 164.7 kB / 0.7392 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.4907, allocations: 244.7 kB / 0.7394 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4907, allocations: 4 kB / 0.7394 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000499/0.4912, allocations: 282 kB / 0.7397 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4912, allocations: 8 kB / 0.7397 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4913, allocations: 4 kB / 0.7397 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4913, allocations: 7.938 kB / 0.7397 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.4916, allocations: 59.91 kB / 0.7398 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4916, allocations: 4.375 kB / 0.7398 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.4918, allocations: 31.69 kB / 0.7398 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.4918, allocations: 12 kB / 0.7398 GB, free: 11.14 MB / 0.5762 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.0001249/0.4919, allocations: 137.8 kB / 0.74 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.4921, allocations: 19.92 kB / 0.74 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.4926, allocations: 291.7 kB / 0.7402 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.4926, allocations: 7.938 kB / 0.7403 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4926, allocations: 0 / 0.7403 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4926, allocations: 3.984 kB / 0.7403 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.4933, allocations: 0.5802 MB / 0.7408 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.4933, allocations: 4 kB / 0.7408 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.4935, allocations: 35.92 kB / 0.7409 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4935, allocations: 7.984 kB / 0.7409 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.4935, allocations: 0 / 0.7409 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4936, allocations: 4 kB / 0.7409 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4936, allocations: 0 / 0.7409 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.4941, allocations: 357.6 kB / 0.7412 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.4942, allocations: 120.8 kB / 0.7413 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.4943, allocations: 0 / 0.7413 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.4945, allocations: 14.06 kB / 0.7413 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.4946, allocations: 19.98 kB / 0.7414 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.4946, allocations: 15.92 kB / 0.7414 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001175/0.4947, allocations: 156.3 kB / 0.7415 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4947, allocations: 0 / 0.7415 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004636/0.4952, allocations: 108 kB / 0.7416 GB, free: 9.168 MB / 0.5762 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.0003987/0.4956, allocations: 227 kB / 0.7418 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003583/0.496, allocations: 207.6 kB / 0.742 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.496, allocations: 0 / 0.742 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.4961, allocations: 103.9 kB / 0.7421 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.4967, allocations: 100.7 kB / 0.7422 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.4975, allocations: 467.7 kB / 0.7427 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.4978, allocations: 0.7328 MB / 0.7434 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.498, allocations: 58.25 kB / 0.7435 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.4981, allocations: 23.44 kB / 0.7435 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.4981, allocations: 0 / 0.7435 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of Templates: time 0.009547/0.5076, allocations: 5.469 MB / 0.7488 GB, free: 1.824 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirProperties.makefile (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 & ./IDEAS_IDEAS.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)