Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000944/0.0009442, allocations: 93.53 kB / 16.67 MB, free: 5.742 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.0009872/0.0009872, allocations: 178.8 kB / 17.58 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7044/0.7044, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 16 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4143, allocations: 77.52 MB / 0.5606 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1755/0.5898, allocations: 157 MB / 0.7139 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006024/0.5959, allocations: 4.503 MB / 0.7183 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.5964, allocations: 7.938 kB / 0.7183 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.5968, allocations: 95.36 kB / 0.7184 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.5979, allocations: 310.7 kB / 0.7187 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.5987, allocations: 250.4 kB / 0.719 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009484/0.5997, allocations: 0.799 MB / 0.7197 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.6001, allocations: 161.6 kB / 0.7199 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.6011, allocations: 426.4 kB / 0.7203 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.6015, allocations: 195.2 kB / 0.7205 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.6015, allocations: 11.98 kB / 0.7205 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.6017, allocations: 63.95 kB / 0.7206 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.6019, allocations: 79.78 kB / 0.7206 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.602, allocations: 137.1 kB / 0.7208 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.6023, allocations: 207.5 kB / 0.721 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6023, allocations: 4 kB / 0.721 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6023, allocations: 0 / 0.721 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.6024, allocations: 0 / 0.721 GB, free: 14.61 MB / 0.5606 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.0007906/0.6032, allocations: 0.4883 MB / 0.7214 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.6032, allocations: 27.89 kB / 0.7215 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.6033, allocations: 31.56 kB / 0.7215 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.6037, allocations: 271.3 kB / 0.7218 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.6037, allocations: 16 kB / 0.7218 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.6038, allocations: 19.98 kB / 0.7218 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.6042, allocations: 269.7 kB / 0.722 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6043, allocations: 7.938 kB / 0.7221 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.6043, allocations: 11.94 kB / 0.7221 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.6043, allocations: 4 kB / 0.7221 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.6047, allocations: 163.8 kB / 0.7222 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.606, allocations: 1.371 MB / 0.7236 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.6064, allocations: 183.7 kB / 0.7237 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.6066, allocations: 105 kB / 0.7238 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003804/0.607, allocations: 133 kB / 0.724 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.607, allocations: 38.5 kB / 0.724 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.013e-06/0.607, allocations: 4 kB / 0.724 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006699/0.6077, allocations: 229.7 kB / 0.7242 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.578e-05/0.6078, allocations: 183.9 kB / 0.7244 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.6081, allocations: 290.9 kB / 0.7247 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.6081, allocations: 25.7 kB / 0.7247 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.6083, allocations: 151.8 kB / 0.7249 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.6083, allocations: 31.56 kB / 0.7249 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.6083, allocations: 21.7 kB / 0.7249 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6085, allocations: 330.8 kB / 0.7252 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.6086, allocations: 55.97 kB / 0.7253 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.6088, allocations: 122.6 kB / 0.7254 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.6091, allocations: 166.7 kB / 0.7255 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6092, allocations: 0 / 0.7255 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004185/0.6096, allocations: 209.1 kB / 0.7257 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6096, allocations: 11.94 kB / 0.7258 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6096, allocations: 0 / 0.7258 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.6096, allocations: 4 kB / 0.7258 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.6098, allocations: 32.2 kB / 0.7258 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.6098, allocations: 4 kB / 0.7258 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.61, allocations: 35.67 kB / 0.7258 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.6101, allocations: 8 kB / 0.7258 GB, free: 9.168 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.6102, allocations: 149.8 kB / 0.726 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.6104, allocations: 31.66 kB / 0.726 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.6107, allocations: 143.3 kB / 0.7261 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.6107, allocations: 4 kB / 0.7262 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.6108, allocations: 8 kB / 0.7262 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6108, allocations: 0 / 0.7262 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.6116, allocations: 0.773 MB / 0.7269 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.6117, allocations: 0 / 0.7269 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.6118, allocations: 27.92 kB / 0.7269 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6118, allocations: 4 kB / 0.7269 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.6118, allocations: 4 kB / 0.7269 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6118, allocations: 8.156 kB / 0.727 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.6118, allocations: 0 / 0.727 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.6124, allocations: 352.8 kB / 0.7273 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.967e-05/0.6125, allocations: 116.8 kB / 0.7274 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.6126, allocations: 4 kB / 0.7274 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.6127, allocations: 12.06 kB / 0.7274 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.6128, allocations: 19.91 kB / 0.7274 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.6128, allocations: 7.984 kB / 0.7274 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002091/0.613, allocations: 209.9 kB / 0.7276 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.613, allocations: 0 / 0.7276 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003636/0.6134, allocations: 59.89 kB / 0.7277 GB, free: 7.113 MB / 0.5606 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 (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.0003712/0.6138, allocations: 135.5 kB / 0.7278 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.6142, allocations: 136 kB / 0.728 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6142, allocations: 0 / 0.728 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.6143, allocations: 63.91 kB / 0.728 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.6152, allocations: 125 kB / 0.7281 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009525/0.6162, allocations: 0.597 MB / 0.7287 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.6165, allocations: 0.7521 MB / 0.7295 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.6166, allocations: 27.44 kB / 0.7295 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.6166, allocations: 0 / 0.7295 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of Templates: time 0.007359/0.6239, allocations: 3.767 MB / 0.7332 GB, free: 1.484 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)