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.0009988/0.0009988, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001113/0.001113, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4811/0.4811, allocations: 55.01 MB / 325.4 MB, free: 0.6875 MB / 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.0005788/0.0005789, allocations: 20 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.46, allocations: 60.72 MB / 457.4 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1792/0.6393, allocations: 146.5 MB / 0.5897 GB, free: 4.688 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005619/0.645, allocations: 4.198 MB / 0.5938 GB, free: 496 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.6453, allocations: 7.938 kB / 0.5938 GB, free: 488 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.6459, allocations: 139.1 kB / 0.594 GB, free: 348 kB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001197/0.6471, allocations: 398.1 kB / 0.5944 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.6481, allocations: 296.2 kB / 0.5946 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.6493, allocations: 1.065 MB / 0.5957 GB, free: 14.6 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003635/0.6496, allocations: 227.7 kB / 0.5959 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.6509, allocations: 0.4902 MB / 0.5964 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.6514, allocations: 294.9 kB / 0.5967 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.6514, allocations: 19.94 kB / 0.5967 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.6517, allocations: 83.88 kB / 0.5968 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.6519, allocations: 147.6 kB / 0.5969 GB, free: 13.35 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.652, allocations: 97.58 kB / 0.597 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005954/0.6526, allocations: 410.9 kB / 0.5974 GB, free: 12.85 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6526, allocations: 0 / 0.5974 GB, free: 12.85 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6526, allocations: 0 / 0.5974 GB, free: 12.85 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.6526, allocations: 0 / 0.5974 GB, free: 12.85 MB / 478.1 MB 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.001036/0.6537, allocations: 0.5982 MB / 0.598 GB, free: 12.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6537, allocations: 8.031 kB / 0.598 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.6539, allocations: 46.31 kB / 0.598 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.6544, allocations: 324 kB / 0.5983 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6544, allocations: 22.38 kB / 0.5984 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.6545, allocations: 32 kB / 0.5984 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.6552, allocations: 401.8 kB / 0.5988 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.6552, allocations: 0.75 kB / 0.5988 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.6553, allocations: 19.94 kB / 0.5988 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.6553, allocations: 13.08 kB / 0.5988 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.656, allocations: 290.4 kB / 0.5991 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.6584, allocations: 1.429 MB / 0.6005 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.6586, allocations: 87.31 kB / 0.6006 GB, free: 9.387 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.6588, allocations: 52.83 kB / 0.6006 GB, free: 9.332 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.6592, allocations: 129 kB / 0.6007 GB, free: 9.188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.6592, allocations: 43.45 kB / 0.6008 GB, free: 9.137 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.6592, allocations: 4 kB / 0.6008 GB, free: 9.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004751/0.6597, allocations: 174.5 kB / 0.6009 GB, free: 8.957 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/0.6598, allocations: 59.34 kB / 0.601 GB, free: 8.887 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.6604, allocations: 437.5 kB / 0.6014 GB, free: 8.453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-05/0.6605, allocations: 25.7 kB / 0.6014 GB, free: 8.422 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.6608, allocations: 219.4 kB / 0.6016 GB, free: 8.203 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.6608, allocations: 31.64 kB / 0.6017 GB, free: 8.172 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.6608, allocations: 4 kB / 0.6017 GB, free: 8.168 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.661, allocations: 342.8 kB / 0.602 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.6611, allocations: 80.7 kB / 0.6021 GB, free: 7.746 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.6614, allocations: 174.6 kB / 0.6023 GB, free: 7.531 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.6616, allocations: 91.91 kB / 0.6023 GB, free: 7.441 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6616, allocations: 7.984 kB / 0.6023 GB, free: 7.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005806/0.6622, allocations: 289.6 kB / 0.6026 GB, free: 7.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6622, allocations: 8 kB / 0.6026 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6622, allocations: 7.953 kB / 0.6026 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.6622, allocations: 4 kB / 0.6026 GB, free: 7.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.6625, allocations: 65.41 kB / 0.6027 GB, free: 7.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.834e-05/0.6625, allocations: 9.062 kB / 0.6027 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.6628, allocations: 51.52 kB / 0.6028 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.6629, allocations: 8 kB / 0.6028 GB, free: 6.996 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.663, allocations: 169.7 kB / 0.6029 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.6631, allocations: 39.62 kB / 0.603 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.6634, allocations: 148.6 kB / 0.6031 GB, free: 6.629 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.6635, allocations: 5.391 kB / 0.6031 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6635, allocations: 3.938 kB / 0.6031 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6635, allocations: 0 / 0.6031 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/0.6642, allocations: 0.5351 MB / 0.6036 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6642, allocations: 0 / 0.6036 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.6643, allocations: 33.44 kB / 0.6037 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6643, allocations: 4 kB / 0.6037 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.6643, allocations: 0.8125 kB / 0.6037 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6643, allocations: 0 / 0.6037 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6644, allocations: 4 kB / 0.6037 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.6648, allocations: 305.7 kB / 0.604 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.665, allocations: 136.7 kB / 0.6041 GB, free: 5.512 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.665, allocations: 3.953 kB / 0.6041 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.6653, allocations: 32.66 kB / 0.6041 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.6654, allocations: 4 kB / 0.6041 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.6654, allocations: 11.98 kB / 0.6042 GB, free: 5.461 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004182/0.6658, allocations: 307.1 kB / 0.6044 GB, free: 5.164 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6658, allocations: 0 / 0.6044 GB, free: 5.164 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.6662, allocations: 91.91 kB / 0.6045 GB, free: 5.074 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003829/0.6666, allocations: 147.4 kB / 0.6047 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003833/0.667, allocations: 160.5 kB / 0.6048 GB, free: 4.777 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.667, allocations: 4 kB / 0.6048 GB, free: 4.773 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.6672, allocations: 47.91 kB / 0.6049 GB, free: 4.727 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/0.6681, allocations: 174.1 kB / 0.605 GB, free: 4.562 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.6693, allocations: 0.7133 MB / 0.6057 GB, free: 3.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.6698, allocations: 0.7926 MB / 0.6065 GB, free: 3.004 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.67, allocations: 71.92 kB / 0.6066 GB, free: 2.934 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.6701, allocations: 31.44 kB / 0.6066 GB, free: 2.902 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6701, allocations: 0 / 0.6066 GB, free: 2.902 MB / 478.1 MB Notification: Performance of Templates: time 0.01141/0.6815, allocations: 6.146 MB / 0.6126 GB, free: 12.86 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: