Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001569, allocations: 97.78 kB / 16.26 MB, free: 5.934 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.001736/0.001736, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7776/0.7776, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.89 kB / 0.4911 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3689, allocations: 77.92 MB / 0.5672 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.174/0.5429, allocations: 167.5 MB / 0.7308 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008124/0.5511, allocations: 6.552 MB / 0.7372 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.5516, allocations: 11.94 kB / 0.7372 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.5522, allocations: 162.8 kB / 0.7373 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.5545, allocations: 0.8401 MB / 0.7382 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.5555, allocations: 336.9 kB / 0.7385 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009133/0.5564, allocations: 0.7135 MB / 0.7392 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/0.557, allocations: 282.8 kB / 0.7395 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.5582, allocations: 0.5487 MB / 0.74 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.5586, allocations: 274.9 kB / 0.7403 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.5587, allocations: 24 kB / 0.7403 GB, free: 9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007189/0.5594, allocations: 331.2 kB / 0.7406 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.5595, allocations: 107.7 kB / 0.7407 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.5597, allocations: 167.1 kB / 0.7409 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007314/0.5604, allocations: 458.6 kB / 0.7413 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5605, allocations: 0 / 0.7413 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5605, allocations: 0 / 0.7413 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.5605, allocations: 0 / 0.7413 GB, free: 7.957 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009528/0.5614, allocations: 0.6272 MB / 0.7419 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5615, allocations: 12.62 kB / 0.7419 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.5618, allocations: 55.5 kB / 0.742 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.5622, allocations: 305.3 kB / 0.7423 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.5623, allocations: 20.56 kB / 0.7423 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.5623, allocations: 24 kB / 0.7423 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.5629, allocations: 319.7 kB / 0.7426 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5629, allocations: 0 / 0.7426 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.563, allocations: 11.94 kB / 0.7426 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.563, allocations: 8 kB / 0.7426 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.5634, allocations: 201.6 kB / 0.7428 GB, free: 6.281 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.5652, allocations: 1.554 MB / 0.7443 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.5655, allocations: 114.5 kB / 0.7444 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.5657, allocations: 88.8 kB / 0.7445 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.5664, allocations: 307.2 kB / 0.7448 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5664, allocations: 30.56 kB / 0.7449 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.5664, allocations: 4 kB / 0.7449 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0008536/0.5673, allocations: 281.4 kB / 0.7451 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.5673, allocations: 51.41 kB / 0.7452 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.5678, allocations: 312.5 kB / 0.7455 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.5678, allocations: 29.7 kB / 0.7455 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.568, allocations: 180.2 kB / 0.7457 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.568, allocations: 39.36 kB / 0.7457 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.5681, allocations: 41.66 kB / 0.7457 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5683, allocations: 342.8 kB / 0.7461 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.5685, allocations: 59.86 kB / 0.7461 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.5687, allocations: 109.1 kB / 0.7462 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.569, allocations: 177 kB / 0.7464 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.569, allocations: 3.938 kB / 0.7464 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000458/0.5695, allocations: 215.3 kB / 0.7466 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5695, allocations: 8 kB / 0.7466 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5695, allocations: 3.938 kB / 0.7466 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5696, allocations: 4 kB / 0.7466 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.5697, allocations: 35.97 kB / 0.7467 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5698, allocations: 7.938 kB / 0.7467 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.57, allocations: 27.72 kB / 0.7467 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.57, allocations: 20.14 kB / 0.7467 GB, free: 1.984 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001727/0.5702, allocations: 149.8 kB / 0.7469 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.5703, allocations: 23.72 kB / 0.7469 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.5707, allocations: 212.2 kB / 0.7471 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.5708, allocations: 4 kB / 0.7471 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5708, allocations: 0 / 0.7471 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5708, allocations: 0 / 0.7471 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5719, allocations: 0.6837 MB / 0.7478 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.572, allocations: 4 kB / 0.7478 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.5721, allocations: 27.92 kB / 0.7478 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5721, allocations: 4 kB / 0.7478 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5721, allocations: 0 / 0.7478 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.5721, allocations: 11.92 kB / 0.7478 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5721, allocations: 4 kB / 0.7478 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.5726, allocations: 335.8 kB / 0.7481 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.5727, allocations: 120.8 kB / 0.7482 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.5728, allocations: 11.94 kB / 0.7483 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.5729, allocations: 7.938 kB / 0.7483 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.573, allocations: 15.98 kB / 0.7483 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.573, allocations: 4 kB / 0.7483 GB, free: 240 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002185/0.5732, allocations: 223 kB / 0.7485 GB, free: 16 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5732, allocations: 3.938 kB / 0.7485 GB, free: 12 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.2852/0.8585, allocations: 70.16 kB / 0.7486 GB, free: 173.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0004908/0.859, allocations: 150.5 kB / 0.7487 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.8596, allocations: 165.5 kB / 0.7489 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8596, allocations: 4.281 kB / 0.7489 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.8598, allocations: 84.27 kB / 0.7489 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.8607, allocations: 154.1 kB / 0.7491 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.8619, allocations: 0.5424 MB / 0.7496 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.8622, allocations: 0.7806 MB / 0.7504 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002516/0.8625, allocations: 61.09 kB / 0.7504 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.8625, allocations: 23.41 kB / 0.7505 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.8625, allocations: 1.188 kB / 0.7505 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01504/0.8776, allocations: 5.119 MB / 0.7555 GB, free: 172.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)