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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4518/0.4518, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 103.9 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 47.92 kB / 0.4891 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3245, allocations: 70.07 MB / 0.5575 GB, free: 44.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5138/0.8383, allocations: 165.3 MB / 0.7189 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006702/0.8451, allocations: 6.557 MB / 0.7253 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/0.8456, allocations: 11.38 kB / 0.7253 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.8461, allocations: 138.4 kB / 0.7254 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.8482, allocations: 0.7918 MB / 0.7262 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000852/0.8491, allocations: 287.9 kB / 0.7265 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008387/0.8499, allocations: 1.019 MB / 0.7275 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.8502, allocations: 233.4 kB / 0.7277 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009686/0.8512, allocations: 0.5093 MB / 0.7282 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.8516, allocations: 289.4 kB / 0.7285 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.8516, allocations: 15.78 kB / 0.7285 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006181/0.8522, allocations: 396 kB / 0.7289 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.8524, allocations: 98.34 kB / 0.7289 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.8525, allocations: 155.7 kB / 0.7291 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.8531, allocations: 484.2 kB / 0.7296 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8531, allocations: 4 kB / 0.7296 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8531, allocations: 0 / 0.7296 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.8531, allocations: 0 / 0.7296 GB, free: 1.438 MB / 0.5105 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.0008679/0.854, allocations: 0.6128 MB / 0.7302 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.854, allocations: 11.12 kB / 0.7302 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.8543, allocations: 61.25 kB / 0.7302 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.8546, allocations: 309 kB / 0.7305 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.8547, allocations: 23.44 kB / 0.7305 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.8547, allocations: 30.56 kB / 0.7306 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.8552, allocations: 321.8 kB / 0.7309 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8552, allocations: 0 / 0.7309 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.8553, allocations: 13.5 kB / 0.7309 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.8553, allocations: 8.906 kB / 0.7309 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.8557, allocations: 200.8 kB / 0.7311 GB, free: 16.62 MB / 0.5261 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.001396/0.8571, allocations: 1.536 MB / 0.7326 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.8574, allocations: 115.5 kB / 0.7327 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.8575, allocations: 90.84 kB / 0.7328 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.8581, allocations: 302.1 kB / 0.7331 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.8582, allocations: 44.09 kB / 0.7331 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 2.945e-06/0.8582, allocations: 4 kB / 0.7331 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0007021/0.8589, allocations: 263.8 kB / 0.7334 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.8589, allocations: 52.61 kB / 0.7334 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.8592, allocations: 318.3 kB / 0.7337 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.8593, allocations: 29.52 kB / 0.7338 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.8594, allocations: 184.8 kB / 0.7339 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.8594, allocations: 45.36 kB / 0.734 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.8595, allocations: 38.98 kB / 0.734 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8596, allocations: 338 kB / 0.7343 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.8597, allocations: 62.5 kB / 0.7344 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.8599, allocations: 113.5 kB / 0.7345 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.8602, allocations: 170.2 kB / 0.7347 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8602, allocations: 7.312 kB / 0.7347 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003783/0.8606, allocations: 212.7 kB / 0.7349 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.8606, allocations: 5.656 kB / 0.7349 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8606, allocations: 1.375 kB / 0.7349 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.8607, allocations: 5.344 kB / 0.7349 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.8609, allocations: 33.2 kB / 0.7349 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.8609, allocations: 10.19 kB / 0.7349 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.8611, allocations: 46.27 kB / 0.735 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.8611, allocations: 6.594 kB / 0.735 GB, free: 14.22 MB / 0.5261 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.0001498/0.8613, allocations: 147.4 kB / 0.7351 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.8614, allocations: 28.88 kB / 0.7352 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.8619, allocations: 215.7 kB / 0.7354 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.8619, allocations: 1.5 kB / 0.7354 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8619, allocations: 1.25 kB / 0.7354 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8619, allocations: 4.438 kB / 0.7354 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.8631, allocations: 0.6852 MB / 0.736 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/0.8632, allocations: 5.719 kB / 0.736 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.8633, allocations: 27.81 kB / 0.7361 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.8633, allocations: 2.625 kB / 0.7361 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.8634, allocations: 6.906 kB / 0.7361 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.8634, allocations: 9.531 kB / 0.7361 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8634, allocations: 2.406 kB / 0.7361 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009101/0.8643, allocations: 0.9997 MB / 0.7371 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.8644, allocations: 117.8 kB / 0.7372 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.8645, allocations: 3.312 kB / 0.7372 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.8647, allocations: 29.72 kB / 0.7372 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.8647, allocations: 12.05 kB / 0.7372 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.8647, allocations: 5.25 kB / 0.7372 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001892/0.8649, allocations: 229.7 kB / 0.7374 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8649, allocations: 0 / 0.7374 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004888/0.8654, allocations: 69.97 kB / 0.7375 GB, free: 12.67 MB / 0.5261 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.0003696/0.8658, allocations: 163.9 kB / 0.7377 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.8662, allocations: 163 kB / 0.7378 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8662, allocations: 0 / 0.7378 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.8664, allocations: 84.98 kB / 0.7379 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009139/0.8673, allocations: 137.4 kB / 0.738 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.8685, allocations: 0.7816 MB / 0.7388 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.8688, allocations: 0.7897 MB / 0.7396 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.869, allocations: 67.8 kB / 0.7396 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.8691, allocations: 23.41 kB / 0.7397 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.8691, allocations: 0 / 0.7397 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.009691/0.8788, allocations: 4.977 MB / 0.7445 GB, free: 10.98 MB / 0.5261 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)