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.006545/0.006545, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001636/0.001636, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.534/1.534, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3919/0.3919, allocations: 54.95 MB / 324.8 MB, free: 40 kB / 254.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.001694/0.001694, allocations: 71.19 kB / 456.3 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1487, allocations: 59.59 MB / 0.5038 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirProperties): time 0.5481/0.6969, allocations: 149.1 MB / 0.6494 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008068/0.705, allocations: 7.077 MB / 0.6563 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.7053, allocations: 1.25 kB / 0.6563 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.7058, allocations: 66.31 kB / 0.6564 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.7063, allocations: 166 kB / 0.6565 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.7092, allocations: 0.9924 MB / 0.6575 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.7097, allocations: 379.4 kB / 0.6578 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.7097, allocations: 11.27 kB / 0.6579 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.7101, allocations: 208 kB / 0.6581 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.7103, allocations: 144.4 kB / 0.6582 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.7104, allocations: 13.59 kB / 0.6582 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.7126, allocations: 1.203 MB / 0.6594 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.7127, allocations: 75.89 kB / 0.6595 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.7129, allocations: 115 kB / 0.6596 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.7143, allocations: 0.6381 MB / 0.6602 GB, free: 180 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7143, allocations: 3.875 kB / 0.6602 GB, free: 180 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7143, allocations: 2.188 kB / 0.6602 GB, free: 180 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.7143, allocations: 0 / 0.6602 GB, free: 180 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.001231/0.7156, allocations: 0.5995 MB / 0.6608 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.7156, allocations: 9.719 kB / 0.6608 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.7168, allocations: 129.5 kB / 0.6609 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.7171, allocations: 224 kB / 0.6611 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.7172, allocations: 21.75 kB / 0.6611 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.7172, allocations: 20.31 kB / 0.6612 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.7178, allocations: 353.4 kB / 0.6615 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.7178, allocations: 0.9375 kB / 0.6615 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.7179, allocations: 18.44 kB / 0.6615 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.7179, allocations: 11.91 kB / 0.6615 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.7185, allocations: 320.5 kB / 0.6618 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.7201, allocations: 1.194 MB / 0.663 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.7206, allocations: 192.1 kB / 0.6632 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.7208, allocations: 75.33 kB / 0.6633 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.7213, allocations: 466.2 kB / 0.6637 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.7214, allocations: 34.12 kB / 0.6637 GB, free: 14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.7214, allocations: 0 / 0.6637 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0006143/0.722, allocations: 246.2 kB / 0.664 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.7221, allocations: 57 kB / 0.664 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.7223, allocations: 223 kB / 0.6642 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.7223, allocations: 32.83 kB / 0.6643 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.7224, allocations: 149.2 kB / 0.6644 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.7225, allocations: 71.92 kB / 0.6645 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.7226, allocations: 50.56 kB / 0.6645 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7227, allocations: 332.2 kB / 0.6648 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.7228, allocations: 70.81 kB / 0.6649 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.723, allocations: 169 kB / 0.6651 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.7233, allocations: 253.8 kB / 0.6653 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.7233, allocations: 4.469 kB / 0.6653 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004679/0.7238, allocations: 281.5 kB / 0.6656 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.7238, allocations: 9.719 kB / 0.6656 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7238, allocations: 3.031 kB / 0.6656 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7239, allocations: 9.125 kB / 0.6656 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.7241, allocations: 61.88 kB / 0.6657 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.7242, allocations: 5.781 kB / 0.6657 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.7244, allocations: 26.22 kB / 0.6657 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.7244, allocations: 16.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.0001425/0.7246, allocations: 136.6 kB / 0.6658 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.7247, allocations: 31.41 kB / 0.6659 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.7252, allocations: 270 kB / 0.6661 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7252, allocations: 2.859 kB / 0.6661 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7252, allocations: 0 / 0.6661 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7252, allocations: 2.406 kB / 0.6661 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007388/0.726, allocations: 0.5676 MB / 0.6667 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.726, allocations: 5.875 kB / 0.6667 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.7262, allocations: 32.55 kB / 0.6667 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7262, allocations: 2.375 kB / 0.6667 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.7262, allocations: 3.5 kB / 0.6667 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.7262, allocations: 6.938 kB / 0.6667 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7262, allocations: 1.203 kB / 0.6667 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.7267, allocations: 336.9 kB / 0.6671 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.7269, allocations: 117.8 kB / 0.6672 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.7269, allocations: 2.75 kB / 0.6672 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.7272, allocations: 14.53 kB / 0.6672 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.7272, allocations: 15.59 kB / 0.6672 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.7273, allocations: 9.719 kB / 0.6672 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001434/0.7274, allocations: 155.1 kB / 0.6674 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7274, allocations: 2.375 kB / 0.6674 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000649/0.7281, allocations: 114.8 kB / 0.6675 GB, free: 12.09 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.0004839/0.7286, allocations: 214.5 kB / 0.6677 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004106/0.729, allocations: 206.9 kB / 0.6679 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.729, allocations: 0 / 0.6679 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.7292, allocations: 107.8 kB / 0.668 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.7298, allocations: 85.25 kB / 0.6681 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.7307, allocations: 451.3 kB / 0.6685 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.7311, allocations: 0.7528 MB / 0.6692 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000216/0.7313, allocations: 58.5 kB / 0.6693 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.7314, allocations: 26.78 kB / 0.6693 GB, free: 11 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.7314, allocations: 0 / 0.6693 GB, free: 11 MB / 0.5137 GB Notification: Performance of Templates: time 0.01086/0.7423, allocations: 5.635 MB / 0.6748 GB, free: 10.57 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)