Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") translateModel(Annex60.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006507/0.006506, allocations: 103.5 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.001293/0.001293, allocations: 191.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3939/0.3939, allocations: 54.94 MB / 324.8 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 75.78 kB / 456.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1423, allocations: 59.59 MB / 0.5037 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirProperties): time 0.6883/0.8306, allocations: 149.1 MB / 0.6493 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008969/0.8396, allocations: 7.073 MB / 0.6562 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.8399, allocations: 6.406 kB / 0.6562 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004667/0.8404, allocations: 68.38 kB / 0.6563 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005223/0.841, allocations: 164.8 kB / 0.6565 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.8443, allocations: 0.992 MB / 0.6574 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.8448, allocations: 369.2 kB / 0.6578 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.594e-05/0.8449, allocations: 10.62 kB / 0.6578 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004235/0.8453, allocations: 217.1 kB / 0.658 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.8455, allocations: 136.9 kB / 0.6581 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.8456, allocations: 10.81 kB / 0.6582 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.8482, allocations: 1.208 MB / 0.6593 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.8483, allocations: 76.27 kB / 0.6594 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.8486, allocations: 112.1 kB / 0.6595 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.8502, allocations: 0.6406 MB / 0.6601 GB, free: 156 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8502, allocations: 0 / 0.6601 GB, free: 156 kB / 0.4981 GB Notification: Performance of FrontEnd: time 4.708e-06/0.8502, allocations: 2.781 kB / 0.6601 GB, free: 156 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.8503, allocations: 9.141 kB / 0.6601 GB, free: 148 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001529/0.8518, allocations: 0.5973 MB / 0.6607 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.8519, allocations: 9.438 kB / 0.6607 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.8531, allocations: 132.5 kB / 0.6609 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.8535, allocations: 224.5 kB / 0.6611 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.8535, allocations: 16.12 kB / 0.6611 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.8535, allocations: 16.06 kB / 0.6611 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.8542, allocations: 351 kB / 0.6614 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.8542, allocations: 1.969 kB / 0.6614 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.8542, allocations: 10.75 kB / 0.6615 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/0.8543, allocations: 15.09 kB / 0.6615 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.855, allocations: 322.1 kB / 0.6618 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.8573, allocations: 1.195 MB / 0.6629 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.8578, allocations: 188.6 kB / 0.6631 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.858, allocations: 82.66 kB / 0.6632 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.8587, allocations: 459.2 kB / 0.6636 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.8587, allocations: 36.5 kB / 0.6637 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.8588, allocations: 0 / 0.6637 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0006517/0.8594, allocations: 253.5 kB / 0.6639 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.8595, allocations: 56.81 kB / 0.664 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.8597, allocations: 222.5 kB / 0.6642 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.8597, allocations: 28.3 kB / 0.6642 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.8599, allocations: 148.1 kB / 0.6644 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.8599, allocations: 73.23 kB / 0.6644 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.86, allocations: 49.52 kB / 0.6645 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.8602, allocations: 328.8 kB / 0.6648 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.8603, allocations: 70.44 kB / 0.6649 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.8606, allocations: 172.4 kB / 0.665 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.8611, allocations: 257.3 kB / 0.6653 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8611, allocations: 0 / 0.6653 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000486/0.8616, allocations: 282.6 kB / 0.6655 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8616, allocations: 14.88 kB / 0.6655 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.8616, allocations: 6.688 kB / 0.6656 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.8617, allocations: 5.406 kB / 0.6656 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.8619, allocations: 61.45 kB / 0.6656 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.862, allocations: 4.875 kB / 0.6656 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.8622, allocations: 28.16 kB / 0.6656 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.8622, allocations: 20.17 kB / 0.6657 GB, free: 12.92 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0001343/0.8624, allocations: 136.4 kB / 0.6658 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.8625, allocations: 34.38 kB / 0.6658 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.8629, allocations: 266.7 kB / 0.6661 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.8629, allocations: 3.75 kB / 0.6661 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.863, allocations: 0 / 0.6661 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.863, allocations: 5.438 kB / 0.6661 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.8636, allocations: 0.5632 MB / 0.6666 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8637, allocations: 3.219 kB / 0.6666 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.8638, allocations: 33.39 kB / 0.6667 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8638, allocations: 4.031 kB / 0.6667 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.8639, allocations: 8.375 kB / 0.6667 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8639, allocations: 0 / 0.6667 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8639, allocations: 2.094 kB / 0.6667 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.8644, allocations: 332.9 kB / 0.667 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.8645, allocations: 117.1 kB / 0.6671 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.8646, allocations: 9.906 kB / 0.6671 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.8648, allocations: 11.83 kB / 0.6671 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.8648, allocations: 11.28 kB / 0.6672 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.8649, allocations: 16.73 kB / 0.6672 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000142/0.865, allocations: 152.7 kB / 0.6673 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.865, allocations: 0 / 0.6673 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005704/0.8656, allocations: 114.2 kB / 0.6674 GB, free: 12.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 16 * 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.0004344/0.8661, allocations: 221.4 kB / 0.6676 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003672/0.8664, allocations: 201.4 kB / 0.6678 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8664, allocations: 3.312 kB / 0.6678 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.8666, allocations: 105.9 kB / 0.6679 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.8672, allocations: 86.03 kB / 0.668 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.8681, allocations: 461.4 kB / 0.6685 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.8686, allocations: 0.7376 MB / 0.6692 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.8688, allocations: 61.28 kB / 0.6692 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.8689, allocations: 23.22 kB / 0.6693 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.8689, allocations: 0 / 0.6693 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.01058/0.8795, allocations: 5.588 MB / 0.6747 GB, free: 10.55 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe 2>&1)