Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.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.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007189/0.007188, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001478/0.001478, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2611/0.2611, allocations: 54.96 MB / 324.9 MB, free: 4.848 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.00151/0.00151, allocations: 79.83 kB / 456.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1602, allocations: 59.58 MB / 0.5037 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5607/0.7209, allocations: 161.4 MB / 0.6613 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00619/0.7271, allocations: 4.525 MB / 0.6657 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.7276, allocations: 4 kB / 0.6657 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009465/0.7286, allocations: 222.7 kB / 0.6659 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.7302, allocations: 0.4977 MB / 0.6664 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.7313, allocations: 369 kB / 0.6668 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.7325, allocations: 0.901 MB / 0.6677 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005783/0.7331, allocations: 288.6 kB / 0.6679 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.7349, allocations: 0.6149 MB / 0.6685 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008426/0.7358, allocations: 298.9 kB / 0.6688 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.736, allocations: 32 kB / 0.6688 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.7365, allocations: 115.9 kB / 0.669 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.7368, allocations: 159.6 kB / 0.6691 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.7373, allocations: 215.1 kB / 0.6693 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.7385, allocations: 0.5596 MB / 0.6699 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.7385, allocations: 4 kB / 0.6699 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7386, allocations: 0 / 0.6699 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.964e-05/0.7386, allocations: 0 / 0.6699 GB, free: 6.727 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001883/0.7405, allocations: 0.6625 MB / 0.6705 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.7405, allocations: 8.031 kB / 0.6705 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.7409, allocations: 55.45 kB / 0.6706 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.7415, allocations: 328 kB / 0.6709 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.7416, allocations: 24.64 kB / 0.6709 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.7417, allocations: 35.94 kB / 0.6709 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007892/0.7425, allocations: 399.2 kB / 0.6713 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7425, allocations: 0 / 0.6713 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.7426, allocations: 16 kB / 0.6713 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.7426, allocations: 11.94 kB / 0.6714 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.7432, allocations: 278.4 kB / 0.6716 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.7457, allocations: 1.429 MB / 0.673 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.7459, allocations: 86.53 kB / 0.6731 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.746, allocations: 48.81 kB / 0.6731 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/0.7464, allocations: 113 kB / 0.6732 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.7464, allocations: 34.56 kB / 0.6733 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.7465, allocations: 4 kB / 0.6733 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005457/0.747, allocations: 171.5 kB / 0.6734 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.7471, allocations: 51.41 kB / 0.6735 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.7476, allocations: 437.5 kB / 0.6739 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.7476, allocations: 29.7 kB / 0.6739 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.7478, allocations: 211.5 kB / 0.6741 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.7478, allocations: 35.53 kB / 0.6742 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.753e-05/0.7479, allocations: 49.7 kB / 0.6742 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.7481, allocations: 342.8 kB / 0.6746 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.7482, allocations: 75.94 kB / 0.6746 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.7485, allocations: 164.8 kB / 0.6748 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.7489, allocations: 241.1 kB / 0.675 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7489, allocations: 0 / 0.675 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005583/0.7495, allocations: 290 kB / 0.6753 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7495, allocations: 4 kB / 0.6753 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7495, allocations: 7.984 kB / 0.6753 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.7495, allocations: 8 kB / 0.6753 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.7498, allocations: 43.92 kB / 0.6753 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.7498, allocations: 11.98 kB / 0.6754 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.7501, allocations: 45.38 kB / 0.6754 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.7501, allocations: 8 kB / 0.6754 GB, free: 0.6367 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001772/0.7503, allocations: 177.8 kB / 0.6756 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.7504, allocations: 31.62 kB / 0.6756 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.7508, allocations: 148.5 kB / 0.6758 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7508, allocations: 0 / 0.6758 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.7508, allocations: 0 / 0.6758 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7508, allocations: 0 / 0.6758 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.7516, allocations: 0.5311 MB / 0.6763 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7516, allocations: 2.625 kB / 0.6763 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.7517, allocations: 15.98 kB / 0.6763 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.7517, allocations: 7.938 kB / 0.6763 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.7518, allocations: 0 / 0.6763 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7518, allocations: 0 / 0.6763 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.7518, allocations: 7.938 kB / 0.6763 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.7523, allocations: 296.7 kB / 0.6766 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.7525, allocations: 140.7 kB / 0.6767 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.7525, allocations: 0 / 0.6767 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.7529, allocations: 20.05 kB / 0.6767 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.7529, allocations: 11.92 kB / 0.6768 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.753, allocations: 8 kB / 0.6768 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003432/0.7533, allocations: 307.1 kB / 0.6771 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7533, allocations: 4 kB / 0.6771 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004446/0.7538, allocations: 87.98 kB / 0.6771 GB, free: 14.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (senStr.h_out) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003691/0.7542, allocations: 151.9 kB / 0.6773 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.7546, allocations: 143.8 kB / 0.6774 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7546, allocations: 3.938 kB / 0.6774 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.7548, allocations: 41.72 kB / 0.6775 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7558, allocations: 187.5 kB / 0.6776 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.7569, allocations: 0.6033 MB / 0.6782 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.7573, allocations: 0.7918 MB / 0.679 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002596/0.7576, allocations: 71.25 kB / 0.6791 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.7577, allocations: 27.44 kB / 0.6791 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.7577, allocations: 0 / 0.6791 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.01323/0.7709, allocations: 6.727 MB / 0.6857 GB, free: 6.055 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)