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.001008/0.001008, allocations: 99.12 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 179.4 kB / 16.92 MB, free: 6.922 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7739/0.7739, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 12 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4456, allocations: 79.29 MB / 0.5707 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1852/0.6308, allocations: 157 MB / 0.7241 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005701/0.6366, allocations: 4.499 MB / 0.7285 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002935/0.6369, allocations: 7.938 kB / 0.7285 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.6374, allocations: 91.36 kB / 0.7286 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009523/0.6383, allocations: 322.7 kB / 0.7289 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007715/0.6391, allocations: 248.9 kB / 0.7291 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009752/0.6401, allocations: 0.7913 MB / 0.7299 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.6405, allocations: 169.5 kB / 0.7301 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009947/0.6415, allocations: 418.4 kB / 0.7305 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.6418, allocations: 199.2 kB / 0.7307 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.6419, allocations: 8 kB / 0.7307 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.6421, allocations: 67.89 kB / 0.7307 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.6422, allocations: 79.77 kB / 0.7308 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.6424, allocations: 141.1 kB / 0.7309 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.6427, allocations: 275 kB / 0.7312 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6427, allocations: 0 / 0.7312 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6427, allocations: 0 / 0.7312 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.6428, allocations: 0 / 0.7312 GB, free: 7.766 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.0007742/0.6435, allocations: 0.4951 MB / 0.7317 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6436, allocations: 12.03 kB / 0.7317 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.6437, allocations: 35.59 kB / 0.7317 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.644, allocations: 283.2 kB / 0.732 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.6441, allocations: 16 kB / 0.732 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.6441, allocations: 16 kB / 0.732 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.6445, allocations: 258.1 kB / 0.7323 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6446, allocations: 0 / 0.7323 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.6446, allocations: 15.94 kB / 0.7323 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.6446, allocations: 11.97 kB / 0.7323 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.645, allocations: 155.8 kB / 0.7324 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.6464, allocations: 1.367 MB / 0.7338 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.6467, allocations: 187.7 kB / 0.734 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.6469, allocations: 101.1 kB / 0.7341 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000367/0.6473, allocations: 129.1 kB / 0.7342 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.6473, allocations: 54.36 kB / 0.7342 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.635e-06/0.6473, allocations: 4 kB / 0.7342 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006351/0.648, allocations: 221.8 kB / 0.7344 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.6481, allocations: 183.9 kB / 0.7346 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.6484, allocations: 287 kB / 0.7349 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.6484, allocations: 29.7 kB / 0.7349 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.6485, allocations: 147.8 kB / 0.7351 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.6485, allocations: 35.61 kB / 0.7351 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.6486, allocations: 17.72 kB / 0.7351 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6487, allocations: 338.8 kB / 0.7354 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.6489, allocations: 51.95 kB / 0.7355 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.6491, allocations: 124.9 kB / 0.7356 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.6494, allocations: 162.8 kB / 0.7358 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6494, allocations: 0 / 0.7358 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004087/0.6498, allocations: 205.1 kB / 0.736 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6499, allocations: 7.938 kB / 0.736 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6499, allocations: 4 kB / 0.736 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6499, allocations: 0 / 0.736 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.65, allocations: 36.14 kB / 0.736 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.6501, allocations: 11.98 kB / 0.736 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.6502, allocations: 35.98 kB / 0.7361 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.6503, allocations: 11.94 kB / 0.7361 GB, free: 2.328 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.0001378/0.6504, allocations: 145.8 kB / 0.7362 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.6505, allocations: 31.66 kB / 0.7362 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.6509, allocations: 139 kB / 0.7364 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6509, allocations: 4 kB / 0.7364 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.6509, allocations: 4.047 kB / 0.7364 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.6509, allocations: 3.984 kB / 0.7364 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.6517, allocations: 0.7768 MB / 0.7371 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.6517, allocations: 0 / 0.7371 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.6519, allocations: 27.97 kB / 0.7372 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.6519, allocations: 4 kB / 0.7372 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.6519, allocations: 4 kB / 0.7372 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.6519, allocations: 8.156 kB / 0.7372 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6519, allocations: 3.938 kB / 0.7372 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.6524, allocations: 355.3 kB / 0.7375 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.283e-05/0.6525, allocations: 112.8 kB / 0.7376 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.6526, allocations: 4 kB / 0.7376 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.6527, allocations: 16.05 kB / 0.7376 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.6528, allocations: 15.92 kB / 0.7377 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.6528, allocations: 8 kB / 0.7377 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000184/0.653, allocations: 209.9 kB / 0.7379 GB, free: 348 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.653, allocations: 0 / 0.7379 GB, free: 348 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003206/0.6533, allocations: 52 kB / 0.7379 GB, free: 296 kB / 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.0002913/0.6536, allocations: 137.9 kB / 0.738 GB, free: 156 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.654, allocations: 140.1 kB / 0.7382 GB, free: 16 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.654, allocations: 0 / 0.7382 GB, free: 16 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.6541, allocations: 63.89 kB / 0.7382 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.655, allocations: 124.9 kB / 0.7384 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.6558, allocations: 0.5645 MB / 0.7389 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.6561, allocations: 0.7598 MB / 0.7397 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.6563, allocations: 58.5 kB / 0.7397 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.6563, allocations: 19.53 kB / 0.7397 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6563, allocations: 3.938 kB / 0.7397 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.008183/0.6645, allocations: 3.993 MB / 0.7436 GB, free: 10.44 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)