Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 179 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000972/0.000972, allocations: 92.45 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003339, allocations: 9.688 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2206, allocations: 106.3 MB / 0.9008 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1661/0.3868, allocations: 146.6 MB / 1.044 GB, free: 13.42 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005024/0.3918, allocations: 4.277 MB / 1.048 GB, free: 9.133 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.3922, allocations: 7.938 kB / 1.048 GB, free: 9.125 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.3926, allocations: 91.36 kB / 1.048 GB, free: 9.035 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007402/0.3933, allocations: 254.8 kB / 1.049 GB, free: 8.785 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/0.394, allocations: 233.9 kB / 1.049 GB, free: 8.559 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007109/0.3948, allocations: 0.6665 MB / 1.049 GB, free: 7.891 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.395, allocations: 141.3 kB / 1.05 GB, free: 7.754 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008598/0.3959, allocations: 374.4 kB / 1.05 GB, free: 7.387 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.3962, allocations: 179.3 kB / 1.05 GB, free: 7.211 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.3962, allocations: 12 kB / 1.05 GB, free: 7.199 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.3964, allocations: 67.94 kB / 1.05 GB, free: 7.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.3965, allocations: 71.77 kB / 1.05 GB, free: 7.062 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.3966, allocations: 73.58 kB / 1.05 GB, free: 6.984 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.3968, allocations: 203.8 kB / 1.05 GB, free: 6.785 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3969, allocations: 0 / 1.05 GB, free: 6.785 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.996e-06/0.3969, allocations: 0 / 1.05 GB, free: 6.785 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3969, allocations: 7.875 kB / 1.05 GB, free: 6.777 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007894/0.3977, allocations: 0.4906 MB / 1.051 GB, free: 6.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3977, allocations: 12.03 kB / 1.051 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.3978, allocations: 31.7 kB / 1.051 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.3982, allocations: 270.2 kB / 1.051 GB, free: 5.891 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.3982, allocations: 12 kB / 1.051 GB, free: 5.879 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.3982, allocations: 20 kB / 1.051 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.3987, allocations: 273.8 kB / 1.052 GB, free: 5.555 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3987, allocations: 3.938 kB / 1.052 GB, free: 5.551 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.3987, allocations: 4 kB / 1.052 GB, free: 5.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.3988, allocations: 8 kB / 1.052 GB, free: 5.539 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.3991, allocations: 159.8 kB / 1.052 GB, free: 5.383 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.4005, allocations: 1.367 MB / 1.053 GB, free: 3.922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.4008, allocations: 187.7 kB / 1.053 GB, free: 3.684 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.401, allocations: 101 kB / 1.053 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/0.4014, allocations: 137 kB / 1.053 GB, free: 3.414 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4014, allocations: 30.56 kB / 1.053 GB, free: 3.375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.4014, allocations: 0 / 1.053 GB, free: 3.375 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006338/0.402, allocations: 229.7 kB / 1.054 GB, free: 3.145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.4022, allocations: 187.9 kB / 1.054 GB, free: 2.918 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.4024, allocations: 282.9 kB / 1.054 GB, free: 2.629 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.4025, allocations: 33.64 kB / 1.054 GB, free: 2.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4026, allocations: 139.9 kB / 1.054 GB, free: 2.449 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.4026, allocations: 43.39 kB / 1.054 GB, free: 2.406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.4026, allocations: 4 kB / 1.054 GB, free: 2.402 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4028, allocations: 330.8 kB / 1.055 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4029, allocations: 55.95 kB / 1.055 GB, free: 2.016 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.4031, allocations: 108.9 kB / 1.055 GB, free: 1.887 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.4033, allocations: 63.95 kB / 1.055 GB, free: 1.824 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4033, allocations: 4 kB / 1.055 GB, free: 1.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003779/0.4037, allocations: 197.2 kB / 1.055 GB, free: 1.621 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4037, allocations: 4 kB / 1.055 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4037, allocations: 8.203 kB / 1.055 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4037, allocations: 11.95 kB / 1.055 GB, free: 1.598 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.4039, allocations: 35.91 kB / 1.055 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4039, allocations: 4 kB / 1.055 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.4041, allocations: 31.73 kB / 1.055 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.4041, allocations: 8 kB / 1.055 GB, free: 1.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001463/0.4043, allocations: 153.7 kB / 1.055 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.4044, allocations: 19.81 kB / 1.055 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.4047, allocations: 147.2 kB / 1.055 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4048, allocations: 11.89 kB / 1.055 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4048, allocations: 4.062 kB / 1.056 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4048, allocations: 8 kB / 1.056 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007838/0.4056, allocations: 0.7574 MB / 1.056 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4056, allocations: 7.984 kB / 1.056 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.4057, allocations: 28.14 kB / 1.056 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4057, allocations: 0 / 1.056 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4058, allocations: 8 kB / 1.056 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4058, allocations: 0 / 1.056 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4058, allocations: 4 kB / 1.056 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4643/0.8701, allocations: 343.7 kB / 1.057 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.8703, allocations: 115.7 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.8704, allocations: 3.984 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.8706, allocations: 13.27 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.8706, allocations: 14.59 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.8707, allocations: 5.094 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002158/0.8709, allocations: 210.4 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8709, allocations: 0 / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000441/0.8713, allocations: 56.48 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0002996/0.8716, allocations: 139.7 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.872, allocations: 131.1 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.872, allocations: 1.031 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.8722, allocations: 60.95 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.873, allocations: 129 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.8737, allocations: 0.578 MB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.8739, allocations: 0.7593 MB / 1.059 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.8739, allocations: 22.03 kB / 1.059 GB, free: 156.5 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.8739, allocations: 0 / 1.059 GB, free: 156.5 MB / 0.698 GB Notification: Performance of Templates: time 0.006188/0.8801, allocations: 3.687 MB / 1.062 GB, free: 156.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)