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.001127/0.001127, allocations: 107.9 kB / 15.99 MB, free: 6.332 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.001181/0.001181, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7591/0.7591, allocations: 122.9 MB / 413.6 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 79.86 kB / 0.4906 GB, free: 7.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4033, allocations: 77.91 MB / 0.5667 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1746/0.578, allocations: 159.1 MB / 0.7221 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006207/0.5842, allocations: 4.516 MB / 0.7265 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005011/0.5847, allocations: 11.94 kB / 0.7265 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.5854, allocations: 103.4 kB / 0.7266 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.5865, allocations: 310.7 kB / 0.7269 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008789/0.5874, allocations: 253.6 kB / 0.7271 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007632/0.5882, allocations: 0.5611 MB / 0.7277 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.5886, allocations: 201.8 kB / 0.7279 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.5898, allocations: 450.3 kB / 0.7283 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.5902, allocations: 207.2 kB / 0.7285 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.5902, allocations: 16 kB / 0.7285 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.5905, allocations: 75.94 kB / 0.7286 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.5907, allocations: 91.77 kB / 0.7287 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.5909, allocations: 115.4 kB / 0.7288 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.5913, allocations: 291 kB / 0.7291 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5914, allocations: 3.938 kB / 0.7291 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5914, allocations: 4 kB / 0.7291 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.5914, allocations: 4 kB / 0.7291 GB, free: 4.18 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.001174/0.5926, allocations: 0.5333 MB / 0.7296 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.5926, allocations: 12.62 kB / 0.7296 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.5927, allocations: 31.56 kB / 0.7296 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.5932, allocations: 275.3 kB / 0.7299 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.5932, allocations: 12 kB / 0.7299 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.5933, allocations: 24 kB / 0.7299 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.5938, allocations: 258 kB / 0.7302 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.5939, allocations: 4 kB / 0.7302 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.5939, allocations: 15.92 kB / 0.7302 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.5939, allocations: 4 kB / 0.7302 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.5944, allocations: 143.8 kB / 0.7303 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.5959, allocations: 1.371 MB / 0.7317 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.5962, allocations: 187.7 kB / 0.7319 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.5964, allocations: 93.11 kB / 0.732 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/0.5968, allocations: 113.1 kB / 0.7321 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.5968, allocations: 50.42 kB / 0.7321 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.5968, allocations: 0 / 0.7321 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006635/0.5975, allocations: 201.2 kB / 0.7323 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5976, allocations: 192.5 kB / 0.7325 GB, free: 336 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.598, allocations: 287 kB / 0.7328 GB, free: 40 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.598, allocations: 29.7 kB / 0.7328 GB, free: 4 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.5982, allocations: 147.9 kB / 0.7329 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.5982, allocations: 39.52 kB / 0.733 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.5983, allocations: 33.7 kB / 0.733 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5985, allocations: 334.8 kB / 0.7333 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.5986, allocations: 47.95 kB / 0.7334 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.5989, allocations: 111.6 kB / 0.7335 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.5992, allocations: 162.7 kB / 0.7336 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5992, allocations: 0 / 0.7336 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004209/0.5996, allocations: 189.2 kB / 0.7338 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.5997, allocations: 14.28 kB / 0.7338 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5997, allocations: 0 / 0.7338 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.5997, allocations: 11.92 kB / 0.7338 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.5999, allocations: 27.98 kB / 0.7339 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.5999, allocations: 7.938 kB / 0.7339 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.6001, allocations: 31.95 kB / 0.7339 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.6002, allocations: 8 kB / 0.7339 GB, free: 14.79 MB / 0.5762 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.000155/0.6003, allocations: 141.8 kB / 0.734 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.6005, allocations: 35.64 kB / 0.7341 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.6008, allocations: 131.3 kB / 0.7342 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6008, allocations: 8 kB / 0.7342 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.6009, allocations: 0 / 0.7342 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.6009, allocations: 4 kB / 0.7342 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008355/0.6017, allocations: 0.7691 MB / 0.735 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6017, allocations: 4.156 kB / 0.735 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.6018, allocations: 27.92 kB / 0.735 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.6019, allocations: 4 kB / 0.735 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.6019, allocations: 0 / 0.735 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.6019, allocations: 4 kB / 0.735 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.6019, allocations: 0 / 0.735 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.6024, allocations: 343.4 kB / 0.7353 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.6025, allocations: 104.8 kB / 0.7354 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.6026, allocations: 8 kB / 0.7354 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.6027, allocations: 7.984 kB / 0.7354 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.6028, allocations: 23.92 kB / 0.7355 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.6028, allocations: 8 kB / 0.7355 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001992/0.603, allocations: 205.9 kB / 0.7357 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.603, allocations: 4 kB / 0.7357 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00035/0.6034, allocations: 59.84 kB / 0.7357 GB, free: 12.77 MB / 0.5762 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.0003908/0.6037, allocations: 128.1 kB / 0.7359 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003756/0.6041, allocations: 127.9 kB / 0.736 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6042, allocations: 7.875 kB / 0.736 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.6043, allocations: 56.59 kB / 0.736 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.6052, allocations: 137.5 kB / 0.7362 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.6062, allocations: 0.5351 MB / 0.7367 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.6066, allocations: 0.7636 MB / 0.7374 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.6068, allocations: 46.27 kB / 0.7375 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.6069, allocations: 23.42 kB / 0.7375 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.6069, allocations: 0 / 0.7375 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.009147/0.616, allocations: 4.146 MB / 0.7416 GB, free: 6.828 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)