Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001094/0.001094, allocations: 103.8 kB / 16.29 MB, free: 6.43 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.001138/0.001138, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.909/1.909, allocations: 292.3 MB / 0.5495 GB, free: 17.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 71.83 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2599, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6744/0.9343, allocations: 167.5 MB / 0.9477 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008187/0.9426, allocations: 6.537 MB / 0.9541 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007404/0.9434, allocations: 11.94 kB / 0.9541 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.9442, allocations: 166.8 kB / 0.9542 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.9467, allocations: 0.8518 MB / 0.9551 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.9477, allocations: 327.2 kB / 0.9554 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008461/0.9486, allocations: 0.7212 MB / 0.9561 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.949, allocations: 266.8 kB / 0.9563 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.9503, allocations: 0.5525 MB / 0.9569 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/0.9507, allocations: 276.8 kB / 0.9571 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.9507, allocations: 24 kB / 0.9572 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.9515, allocations: 339.2 kB / 0.9575 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.9516, allocations: 99.7 kB / 0.9576 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.9518, allocations: 167.1 kB / 0.9577 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007332/0.9525, allocations: 470.6 kB / 0.9582 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9525, allocations: 11.88 kB / 0.9582 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9526, allocations: 0 / 0.9582 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.9526, allocations: 0 / 0.9582 GB, free: 8.129 MB / 0.7481 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.0009317/0.9535, allocations: 0.6106 MB / 0.9588 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.9536, allocations: 12.03 kB / 0.9588 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003442/0.9539, allocations: 63.48 kB / 0.9589 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.9543, allocations: 305.2 kB / 0.9592 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.9544, allocations: 24.56 kB / 0.9592 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.9544, allocations: 24 kB / 0.9592 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.955, allocations: 319.7 kB / 0.9595 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.955, allocations: 0 / 0.9595 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.955, allocations: 16 kB / 0.9595 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.9551, allocations: 4 kB / 0.9595 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.9555, allocations: 199 kB / 0.9597 GB, free: 6.465 MB / 0.7481 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.001664/0.9571, allocations: 1.535 MB / 0.9612 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.9574, allocations: 126.5 kB / 0.9613 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.9577, allocations: 92.75 kB / 0.9614 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007748/0.9584, allocations: 311.2 kB / 0.9617 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.9585, allocations: 38.56 kB / 0.9618 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.9585, allocations: 0 / 0.9618 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008385/0.9593, allocations: 265.2 kB / 0.962 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.9594, allocations: 55.34 kB / 0.9621 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.9598, allocations: 312.5 kB / 0.9624 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.9598, allocations: 33.7 kB / 0.9624 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.96, allocations: 176.2 kB / 0.9626 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.96, allocations: 39.36 kB / 0.9626 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.9601, allocations: 41.7 kB / 0.9626 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.9603, allocations: 340 kB / 0.963 GB, free: 2.871 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.9605, allocations: 63.8 kB / 0.963 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.9607, allocations: 113.1 kB / 0.9631 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.961, allocations: 173.8 kB / 0.9633 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9611, allocations: 0 / 0.9633 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004377/0.9615, allocations: 222.3 kB / 0.9635 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.9615, allocations: 11.98 kB / 0.9635 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9616, allocations: 160 / 0.9635 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.9616, allocations: 8.047 kB / 0.9635 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.9618, allocations: 35.91 kB / 0.9636 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.9618, allocations: 4 kB / 0.9636 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.962, allocations: 31.67 kB / 0.9636 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.962, allocations: 8 kB / 0.9636 GB, free: 2.172 MB / 0.7481 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.0001765/0.9622, allocations: 151.4 kB / 0.9638 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.9622, allocations: 27.72 kB / 0.9638 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.9627, allocations: 212.2 kB / 0.964 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9627, allocations: 4 kB / 0.964 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.9627, allocations: 0 / 0.964 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.9627, allocations: 0 / 0.964 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.9638, allocations: 0.6796 MB / 0.9647 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.9638, allocations: 4 kB / 0.9647 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.9639, allocations: 30.17 kB / 0.9647 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.9639, allocations: 4 kB / 0.9647 GB, free: 0.9805 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.964, allocations: 12.2 kB / 0.9647 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.964, allocations: 7.938 kB / 0.9647 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.964, allocations: 4 kB / 0.9647 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.9644, allocations: 325.8 kB / 0.965 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.9645, allocations: 120.8 kB / 0.9651 GB, free: 476 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.9646, allocations: 4 kB / 0.9651 GB, free: 472 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.9647, allocations: 15.92 kB / 0.9652 GB, free: 456 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.9648, allocations: 15.94 kB / 0.9652 GB, free: 440 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.9648, allocations: 13.95 kB / 0.9652 GB, free: 428 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001993/0.965, allocations: 215.1 kB / 0.9654 GB, free: 212 kB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9651, allocations: 4 kB / 0.9654 GB, free: 208 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003657/0.9654, allocations: 75.84 kB / 0.9655 GB, free: 132 kB / 0.7481 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.0004207/0.9659, allocations: 155.2 kB / 0.9656 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.9663, allocations: 157.4 kB / 0.9658 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9663, allocations: 0 / 0.9658 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.9665, allocations: 92.25 kB / 0.9659 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007609/0.9672, allocations: 152.9 kB / 0.966 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.9681, allocations: 0.5398 MB / 0.9665 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.9685, allocations: 0.7872 MB / 0.9673 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000162/0.9687, allocations: 56.2 kB / 0.9673 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.9687, allocations: 31.36 kB / 0.9674 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of SimCode: time 3.4e-07/0.9687, allocations: 0 / 0.9674 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of Templates: time 0.01032/0.9791, allocations: 5.113 MB / 0.9724 GB, free: 9.145 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)