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.008269/0.008269, allocations: 101.6 kB / 15.73 MB, free: 6.008 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.00155/0.001551, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.718/1.718, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4493/0.4493, allocations: 54.95 MB / 324.9 MB, free: 15.99 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.00142/0.00142, allocations: 70.52 kB / 456.2 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1417, allocations: 59.59 MB / 0.5037 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirProperties): time 0.5606/0.7024, allocations: 149.1 MB / 0.6493 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008353/0.7108, allocations: 7.074 MB / 0.6562 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.711, allocations: 1.594 kB / 0.6562 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.7116, allocations: 71.73 kB / 0.6563 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005511/0.7121, allocations: 166.4 kB / 0.6565 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.7152, allocations: 1.021 MB / 0.6575 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.7157, allocations: 379.8 kB / 0.6578 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.172e-05/0.7158, allocations: 9.594 kB / 0.6578 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006349/0.7164, allocations: 219.1 kB / 0.658 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.7168, allocations: 134.2 kB / 0.6582 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.7168, allocations: 10.84 kB / 0.6582 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.7198, allocations: 1.206 MB / 0.6594 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.72, allocations: 85.38 kB / 0.6594 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.7203, allocations: 115.8 kB / 0.6596 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.7226, allocations: 0.6404 MB / 0.6602 GB, free: 188 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7226, allocations: 0.625 kB / 0.6602 GB, free: 188 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7226, allocations: 0 / 0.6602 GB, free: 188 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.7226, allocations: 4.625 kB / 0.6602 GB, free: 184 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.001597/0.7242, allocations: 0.5922 MB / 0.6608 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.7243, allocations: 9.344 kB / 0.6608 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.7256, allocations: 133.6 kB / 0.6609 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.7259, allocations: 225.8 kB / 0.6611 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.7259, allocations: 21.98 kB / 0.6611 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.726, allocations: 19.72 kB / 0.6612 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.7266, allocations: 349.2 kB / 0.6615 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.7267, allocations: 0 / 0.6615 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.7267, allocations: 10.19 kB / 0.6615 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.7267, allocations: 18.06 kB / 0.6615 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.7273, allocations: 321.1 kB / 0.6618 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.729, allocations: 1.192 MB / 0.663 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.7295, allocations: 193.2 kB / 0.6632 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.7296, allocations: 79.14 kB / 0.6632 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/0.7302, allocations: 463.6 kB / 0.6637 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.7302, allocations: 36.27 kB / 0.6637 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.7302, allocations: 4 kB / 0.6637 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0006375/0.7309, allocations: 253.7 kB / 0.664 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.7309, allocations: 53.5 kB / 0.664 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.7311, allocations: 220.8 kB / 0.6642 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.7312, allocations: 28.83 kB / 0.6643 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.7313, allocations: 145.8 kB / 0.6644 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.7313, allocations: 76.81 kB / 0.6645 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.7314, allocations: 49.05 kB / 0.6645 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7315, allocations: 336.3 kB / 0.6648 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.7317, allocations: 67.52 kB / 0.6649 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.7318, allocations: 169.7 kB / 0.6651 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.7321, allocations: 254.6 kB / 0.6653 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7321, allocations: 0 / 0.6653 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005052/0.7327, allocations: 284.8 kB / 0.6656 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.7327, allocations: 9.875 kB / 0.6656 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7327, allocations: 4.875 kB / 0.6656 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.7327, allocations: 5.25 kB / 0.6656 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.733, allocations: 60.88 kB / 0.6657 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.733, allocations: 10.72 kB / 0.6657 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.7333, allocations: 30.66 kB / 0.6657 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.7333, allocations: 15.03 kB / 0.6657 GB, free: 12.95 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.0001406/0.7334, allocations: 138.4 kB / 0.6658 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.7336, allocations: 31.69 kB / 0.6659 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.734, allocations: 262.7 kB / 0.6661 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.7341, allocations: 4.469 kB / 0.6661 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7341, allocations: 0 / 0.6661 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7341, allocations: 2.156 kB / 0.6661 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/0.7348, allocations: 0.5737 MB / 0.6667 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7348, allocations: 0 / 0.6667 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.7349, allocations: 29.3 kB / 0.6667 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.735, allocations: 1.812 kB / 0.6667 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.735, allocations: 7.906 kB / 0.6667 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.735, allocations: 0 / 0.6667 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.735, allocations: 0 / 0.6667 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.7355, allocations: 339.6 kB / 0.667 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.7356, allocations: 117.2 kB / 0.6672 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.7357, allocations: 5.906 kB / 0.6672 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.7359, allocations: 6.469 kB / 0.6672 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.736, allocations: 17.47 kB / 0.6672 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.736, allocations: 10.16 kB / 0.6672 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001348/0.7361, allocations: 153.6 kB / 0.6673 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7361, allocations: 4 kB / 0.6673 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006426/0.7368, allocations: 116.9 kB / 0.6675 GB, free: 12.1 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.0004337/0.7372, allocations: 214.3 kB / 0.6677 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.7376, allocations: 209.6 kB / 0.6679 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7376, allocations: 0 / 0.6679 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.7377, allocations: 103.2 kB / 0.668 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.7384, allocations: 92.86 kB / 0.6681 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008208/0.7392, allocations: 457.6 kB / 0.6685 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.7395, allocations: 0.746 MB / 0.6692 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002192/0.7398, allocations: 57.38 kB / 0.6693 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.7398, allocations: 24.73 kB / 0.6693 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.7399, allocations: 0 / 0.6693 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of Templates: time 0.009585/0.7494, allocations: 5.579 MB / 0.6747 GB, free: 10.59 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)