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.001307/0.001307, allocations: 102.4 kB / 16.35 MB, free: 6.348 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.001328/0.001328, allocations: 194 kB / 17.29 MB, free: 5.93 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.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.002006/0.002006, allocations: 75.17 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2256, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6021/0.8277, allocations: 167.5 MB / 0.9484 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008093/0.8359, allocations: 6.545 MB / 0.9548 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006108/0.8366, allocations: 15.94 kB / 0.9548 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.8372, allocations: 166.7 kB / 0.9549 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.8396, allocations: 0.84 MB / 0.9558 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.8407, allocations: 331.1 kB / 0.9561 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009425/0.8416, allocations: 0.7151 MB / 0.9568 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.8421, allocations: 270.8 kB / 0.957 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.8432, allocations: 0.5603 MB / 0.9576 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.8436, allocations: 267 kB / 0.9578 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.8437, allocations: 24 kB / 0.9579 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006945/0.8444, allocations: 339.2 kB / 0.9582 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.8445, allocations: 111.6 kB / 0.9583 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.8447, allocations: 163.2 kB / 0.9584 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.8454, allocations: 478.5 kB / 0.9589 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8454, allocations: 3.984 kB / 0.9589 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8454, allocations: 4 kB / 0.9589 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.8454, allocations: 0 / 0.9589 GB, free: 7.754 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.0008341/0.8462, allocations: 0.6144 MB / 0.9595 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.8463, allocations: 8.031 kB / 0.9595 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.8466, allocations: 63.48 kB / 0.9596 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.847, allocations: 305.3 kB / 0.9599 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.847, allocations: 16.56 kB / 0.9599 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.8471, allocations: 28 kB / 0.9599 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.8476, allocations: 317.1 kB / 0.9602 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.8477, allocations: 3.984 kB / 0.9602 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.8477, allocations: 12 kB / 0.9602 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.8477, allocations: 8 kB / 0.9602 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.8481, allocations: 211.8 kB / 0.9604 GB, free: 6.082 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.001558/0.8497, allocations: 1.53 MB / 0.9619 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.85, allocations: 118.5 kB / 0.962 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.8502, allocations: 96.8 kB / 0.9621 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007026/0.8509, allocations: 299.2 kB / 0.9624 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.8509, allocations: 34.56 kB / 0.9625 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.8509, allocations: 0 / 0.9625 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007709/0.8517, allocations: 279.5 kB / 0.9627 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.8518, allocations: 55.41 kB / 0.9628 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.8521, allocations: 308.5 kB / 0.9631 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.8521, allocations: 27.48 kB / 0.9631 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.8523, allocations: 184.2 kB / 0.9633 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.8523, allocations: 43.36 kB / 0.9633 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.8524, allocations: 33.7 kB / 0.9633 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.8525, allocations: 338.8 kB / 0.9637 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.8527, allocations: 63.86 kB / 0.9637 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.8529, allocations: 113.9 kB / 0.9638 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.8532, allocations: 177 kB / 0.964 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8532, allocations: 3.938 kB / 0.964 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004228/0.8536, allocations: 217.1 kB / 0.9642 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.8536, allocations: 4.781 kB / 0.9642 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8537, allocations: 4 kB / 0.9642 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.8537, allocations: 48 / 0.9642 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.8539, allocations: 40.12 kB / 0.9643 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.8539, allocations: 3.984 kB / 0.9643 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.8541, allocations: 31.69 kB / 0.9643 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.8541, allocations: 10.23 kB / 0.9643 GB, free: 1.812 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.0001298/0.8542, allocations: 153.7 kB / 0.9645 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.8543, allocations: 27.72 kB / 0.9645 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/0.8547, allocations: 209.2 kB / 0.9647 GB, free: 1.418 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8547, allocations: 0 / 0.9647 GB, free: 1.418 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8548, allocations: 3.938 kB / 0.9647 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8548, allocations: 11.92 kB / 0.9647 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.8558, allocations: 0.6796 MB / 0.9654 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8558, allocations: 0 / 0.9654 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.8559, allocations: 31.98 kB / 0.9654 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.856, allocations: 0 / 0.9654 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.856, allocations: 4.625 kB / 0.9654 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.856, allocations: 11.88 kB / 0.9654 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.856, allocations: 1.344 kB / 0.9654 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.8564, allocations: 341 kB / 0.9657 GB, free: 232 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.8565, allocations: 114.1 kB / 0.9658 GB, free: 100 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.8566, allocations: 4 kB / 0.9658 GB, free: 96 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.8567, allocations: 15.92 kB / 0.9659 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.8568, allocations: 11.98 kB / 0.9659 GB, free: 68 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.8568, allocations: 4 kB / 0.9659 GB, free: 64 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002192/0.857, allocations: 231.1 kB / 0.9661 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.857, allocations: 0 / 0.9661 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0003863/0.8574, allocations: 75.84 kB / 0.9662 GB, free: 15.76 MB / 0.7637 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.0003852/0.8578, allocations: 160.7 kB / 0.9663 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.8582, allocations: 159.8 kB / 0.9665 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8583, allocations: 4 kB / 0.9665 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.8584, allocations: 78.39 kB / 0.9665 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008367/0.8593, allocations: 154.8 kB / 0.9667 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008347/0.8601, allocations: 0.5348 MB / 0.9672 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.8605, allocations: 0.7833 MB / 0.968 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.8607, allocations: 63.56 kB / 0.968 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.8608, allocations: 24.09 kB / 0.9681 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of SimCode: time 2.194e-06/0.8608, allocations: 4 kB / 0.9681 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of Templates: time 0.01057/0.8714, allocations: 5.113 MB / 0.9731 GB, free: 8.781 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)