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.001053/0.001053, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001057/0.001057, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7118/0.7118, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3153, allocations: 76.15 MB / 0.5576 GB, free: 36.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1662/0.4815, allocations: 161.3 MB / 0.7151 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005051/0.4866, allocations: 4.563 MB / 0.7196 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.4869, allocations: 7.938 kB / 0.7196 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.4874, allocations: 123.1 kB / 0.7197 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007691/0.4882, allocations: 338.4 kB / 0.72 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007435/0.4889, allocations: 279.3 kB / 0.7203 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005864/0.4895, allocations: 0.5611 MB / 0.7208 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.4899, allocations: 209 kB / 0.721 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008616/0.4907, allocations: 450.3 kB / 0.7215 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.491, allocations: 195.2 kB / 0.7216 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.4911, allocations: 20 kB / 0.7217 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.4912, allocations: 79.92 kB / 0.7217 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.4913, allocations: 83.78 kB / 0.7218 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.4915, allocations: 123.3 kB / 0.7219 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.4918, allocations: 303 kB / 0.7222 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4918, allocations: 4 kB / 0.7222 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4919, allocations: 0 / 0.7222 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4919, allocations: 0 / 0.7222 GB, free: 11.38 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.0007801/0.4927, allocations: 0.5334 MB / 0.7228 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4927, allocations: 8.031 kB / 0.7228 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.4928, allocations: 27.66 kB / 0.7228 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.4932, allocations: 287.3 kB / 0.7231 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4932, allocations: 20 kB / 0.7231 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.4933, allocations: 16 kB / 0.7231 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.4937, allocations: 269.6 kB / 0.7233 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4937, allocations: 0 / 0.7233 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.4937, allocations: 11.94 kB / 0.7234 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4937, allocations: 4 kB / 0.7234 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.4941, allocations: 148.5 kB / 0.7235 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.4954, allocations: 1.367 MB / 0.7248 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.4957, allocations: 191.6 kB / 0.725 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.4959, allocations: 93.11 kB / 0.7251 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/0.4963, allocations: 113.1 kB / 0.7252 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.4963, allocations: 54.41 kB / 0.7253 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.4963, allocations: 0 / 0.7253 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.000631/0.497, allocations: 213.5 kB / 0.7255 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.4971, allocations: 183.9 kB / 0.7257 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.4974, allocations: 291 kB / 0.7259 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.4974, allocations: 25.7 kB / 0.726 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4976, allocations: 145.4 kB / 0.7261 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.4976, allocations: 43.45 kB / 0.7261 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.4977, allocations: 37.7 kB / 0.7262 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4978, allocations: 326.8 kB / 0.7265 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.498, allocations: 47.95 kB / 0.7265 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.4982, allocations: 119.6 kB / 0.7266 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.4985, allocations: 158.7 kB / 0.7268 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4985, allocations: 0 / 0.7268 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003574/0.4989, allocations: 185.6 kB / 0.727 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4989, allocations: 11.94 kB / 0.727 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4989, allocations: 4.062 kB / 0.727 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4989, allocations: 7.984 kB / 0.727 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.4991, allocations: 31.98 kB / 0.727 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.4991, allocations: 7.938 kB / 0.727 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.4993, allocations: 31.67 kB / 0.7271 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.4993, allocations: 8 kB / 0.7271 GB, free: 5.965 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.0001289/0.4994, allocations: 142.5 kB / 0.7272 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4996, allocations: 31.66 kB / 0.7272 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.4999, allocations: 134.9 kB / 0.7274 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4999, allocations: 0 / 0.7274 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4999, allocations: 4 kB / 0.7274 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4999, allocations: 0 / 0.7274 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008252/0.5007, allocations: 0.7769 MB / 0.7281 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5008, allocations: 0 / 0.7281 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.5009, allocations: 23.92 kB / 0.7281 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5009, allocations: 4 kB / 0.7282 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.5009, allocations: 4 kB / 0.7282 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.5009, allocations: 3.938 kB / 0.7282 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5009, allocations: 4 kB / 0.7282 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.5014, allocations: 343.5 kB / 0.7285 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.5015, allocations: 108.8 kB / 0.7286 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.5016, allocations: 0 / 0.7286 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.5017, allocations: 11.98 kB / 0.7286 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.5018, allocations: 19.86 kB / 0.7286 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.5018, allocations: 8.062 kB / 0.7286 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001814/0.502, allocations: 209.9 kB / 0.7288 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.502, allocations: 0 / 0.7288 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003207/0.5023, allocations: 60 kB / 0.7289 GB, free: 3.953 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.0003076/0.5026, allocations: 143.3 kB / 0.729 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.5029, allocations: 124.2 kB / 0.7291 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.503, allocations: 4.062 kB / 0.7291 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.5031, allocations: 63.83 kB / 0.7292 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.5038, allocations: 117.6 kB / 0.7293 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008029/0.5046, allocations: 491.9 kB / 0.7298 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.5049, allocations: 0.7518 MB / 0.7305 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.5051, allocations: 54.23 kB / 0.7306 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.5051, allocations: 23.44 kB / 0.7306 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.5051, allocations: 0 / 0.7306 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of Templates: time 0.008008/0.5131, allocations: 4.225 MB / 0.7347 GB, free: 13.98 MB / 0.5762 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)