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.001143/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001285/0.001285, allocations: 187.6 kB / 16.14 MB, free: 6.652 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.536/1.536, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.443/0.443, allocations: 54.94 MB / 324.3 MB, free: 152 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.001352/0.001352, allocations: 64.38 kB / 394.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1339, allocations: 59.59 MB / 454.3 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4297/0.5636, allocations: 159.1 MB / 0.599 GB, free: 8.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.5689, allocations: 4.529 MB / 0.6035 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.5693, allocations: 7.938 kB / 0.6035 GB, free: 4.203 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007325/0.5701, allocations: 179.1 kB / 0.6036 GB, free: 4.027 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.5712, allocations: 466 kB / 0.6041 GB, free: 3.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009232/0.5722, allocations: 328.3 kB / 0.6044 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.5733, allocations: 1.283 MB / 0.6056 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.5737, allocations: 237.4 kB / 0.6059 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.5749, allocations: 0.5307 MB / 0.6064 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.5753, allocations: 314.9 kB / 0.6067 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.5753, allocations: 20 kB / 0.6067 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.5756, allocations: 91.88 kB / 0.6068 GB, free: 0.793 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.5758, allocations: 143.6 kB / 0.6069 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.576, allocations: 195.1 kB / 0.6071 GB, free: 472 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.5766, allocations: 0.5296 MB / 0.6076 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5766, allocations: 4 kB / 0.6076 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.5766, allocations: 0 / 0.6076 GB, free: 15.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.5766, allocations: 0 / 0.6076 GB, free: 15.93 MB / 494.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.001201/0.5778, allocations: 0.6636 MB / 0.6083 GB, free: 15.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.5778, allocations: 12.03 kB / 0.6083 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.5781, allocations: 51.47 kB / 0.6083 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.5785, allocations: 319.8 kB / 0.6087 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.5785, allocations: 20.66 kB / 0.6087 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.5786, allocations: 32 kB / 0.6087 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.5793, allocations: 395.2 kB / 0.6091 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5793, allocations: 7.938 kB / 0.6091 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.5793, allocations: 12 kB / 0.6091 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.5794, allocations: 11.94 kB / 0.6091 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.5799, allocations: 286.4 kB / 0.6094 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.5821, allocations: 1.43 MB / 0.6108 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.5823, allocations: 78.61 kB / 0.6109 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.5824, allocations: 48.77 kB / 0.6109 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.5828, allocations: 121 kB / 0.611 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.5828, allocations: 34.56 kB / 0.611 GB, free: 12.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.5828, allocations: 0 / 0.611 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004954/0.5833, allocations: 169.8 kB / 0.6112 GB, free: 12.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.5833, allocations: 51.41 kB / 0.6113 GB, free: 11.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.5838, allocations: 433.6 kB / 0.6117 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.5838, allocations: 25.7 kB / 0.6117 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.584, allocations: 226 kB / 0.6119 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.584, allocations: 27.64 kB / 0.6119 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.5841, allocations: 57.61 kB / 0.612 GB, free: 11.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5842, allocations: 346.7 kB / 0.6123 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.5844, allocations: 71.89 kB / 0.6124 GB, free: 10.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.5846, allocations: 167.3 kB / 0.6126 GB, free: 10.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.585, allocations: 233.3 kB / 0.6128 GB, free: 10.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.585, allocations: 0 / 0.6128 GB, free: 10.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005419/0.5856, allocations: 293.2 kB / 0.6131 GB, free: 9.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5856, allocations: 8.781 kB / 0.6131 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5856, allocations: 5.625 kB / 0.6131 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5856, allocations: 4 kB / 0.6131 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.5859, allocations: 51.91 kB / 0.6131 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.5859, allocations: 8.562 kB / 0.6131 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.5862, allocations: 47.52 kB / 0.6132 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.5863, allocations: 12 kB / 0.6132 GB, free: 9.852 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002338/0.5865, allocations: 173.7 kB / 0.6134 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.5866, allocations: 31.62 kB / 0.6134 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.587, allocations: 137.3 kB / 0.6135 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.587, allocations: 4.031 kB / 0.6135 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.587, allocations: 0.625 kB / 0.6135 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.587, allocations: 7.969 kB / 0.6135 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/0.5879, allocations: 0.5316 MB / 0.614 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5879, allocations: 0 / 0.614 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.588, allocations: 15.98 kB / 0.6141 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.588, allocations: 5.375 kB / 0.6141 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.588, allocations: 0 / 0.6141 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.588, allocations: 0 / 0.6141 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/0.588, allocations: 17.58 kB / 0.6141 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.5885, allocations: 285.8 kB / 0.6144 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.5887, allocations: 144.7 kB / 0.6145 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.5888, allocations: 64 / 0.6145 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.5891, allocations: 23.97 kB / 0.6145 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.5891, allocations: 7.938 kB / 0.6145 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.5892, allocations: 18.98 kB / 0.6145 GB, free: 8.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003244/0.5895, allocations: 307.1 kB / 0.6148 GB, free: 8.055 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5895, allocations: 0 / 0.6148 GB, free: 8.055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004228/0.5899, allocations: 87.91 kB / 0.6149 GB, free: 7.969 MB / 494.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 (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.0003851/0.5903, allocations: 144.5 kB / 0.6151 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.5907, allocations: 151.7 kB / 0.6152 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5907, allocations: 0.75 kB / 0.6152 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.5909, allocations: 47.91 kB / 0.6152 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009746/0.5919, allocations: 184.8 kB / 0.6154 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.5928, allocations: 0.6826 MB / 0.6161 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.5932, allocations: 0.7959 MB / 0.6169 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002838/0.5935, allocations: 76.77 kB / 0.6169 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.5935, allocations: 27.44 kB / 0.617 GB, free: 5.828 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5935, allocations: 0 / 0.617 GB, free: 5.828 MB / 494.1 MB Notification: Performance of Templates: time 0.01131/0.6049, allocations: 6.376 MB / 0.6232 GB, free: 15.57 MB / 0.4981 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)