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.001304/0.001304, allocations: 113.1 kB / 16.37 MB, free: 6.004 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.00107/0.00107, allocations: 192 kB / 17.31 MB, free: 5.617 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.416/1.416, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001422/0.001422, allocations: 64.12 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2352, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5859/0.8212, allocations: 167.5 MB / 0.9484 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007681/0.8289, allocations: 6.536 MB / 0.9548 GB, free: 12 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000494/0.8294, allocations: 15.88 kB / 0.9548 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.83, allocations: 174.7 kB / 0.955 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.8323, allocations: 0.8362 MB / 0.9558 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.8333, allocations: 327.9 kB / 0.9561 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009305/0.8343, allocations: 0.7173 MB / 0.9568 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/0.8347, allocations: 274.8 kB / 0.9571 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.8359, allocations: 0.5564 MB / 0.9576 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.8363, allocations: 267 kB / 0.9579 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.8363, allocations: 27.94 kB / 0.9579 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006451/0.837, allocations: 335.2 kB / 0.9582 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.8372, allocations: 107.7 kB / 0.9583 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.8373, allocations: 167.1 kB / 0.9585 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.838, allocations: 474.6 kB / 0.9589 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.838, allocations: 7.938 kB / 0.9589 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.422e-06/0.838, allocations: 0 / 0.9589 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.838, allocations: 4 kB / 0.9589 GB, free: 7.742 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.0008886/0.8389, allocations: 0.6144 MB / 0.9595 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.839, allocations: 12.03 kB / 0.9595 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.8393, allocations: 55.5 kB / 0.9596 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.8398, allocations: 325.3 kB / 0.9599 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.8398, allocations: 24.5 kB / 0.9599 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.8399, allocations: 24 kB / 0.96 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.8404, allocations: 319.7 kB / 0.9603 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.8404, allocations: 3.938 kB / 0.9603 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.8404, allocations: 8 kB / 0.9603 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.8405, allocations: 8 kB / 0.9603 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.8409, allocations: 197.6 kB / 0.9605 GB, free: 6.062 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.0015/0.8424, allocations: 1.542 MB / 0.962 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.8427, allocations: 119.9 kB / 0.9621 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.8429, allocations: 88.8 kB / 0.9622 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005746/0.8434, allocations: 307.2 kB / 0.9625 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.8435, allocations: 34.56 kB / 0.9625 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.8435, allocations: 3.938 kB / 0.9625 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007756/0.8443, allocations: 277.4 kB / 0.9628 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.8443, allocations: 55.34 kB / 0.9628 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.8446, allocations: 308.5 kB / 0.9631 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.8447, allocations: 33.7 kB / 0.9631 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.8448, allocations: 176.2 kB / 0.9633 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.8448, allocations: 39.36 kB / 0.9633 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.8449, allocations: 41.72 kB / 0.9634 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.845, allocations: 342.8 kB / 0.9637 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.8452, allocations: 55.86 kB / 0.9638 GB, free: 2.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.8454, allocations: 119 kB / 0.9639 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.8457, allocations: 169.8 kB / 0.964 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8458, allocations: 3.938 kB / 0.964 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000413/0.8462, allocations: 217.7 kB / 0.9643 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.8462, allocations: 8 kB / 0.9643 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.8462, allocations: 0.6875 kB / 0.9643 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.8462, allocations: 4 kB / 0.9643 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.8464, allocations: 39.91 kB / 0.9643 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8464, allocations: 4 kB / 0.9643 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.8466, allocations: 31.83 kB / 0.9643 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.8467, allocations: 12.75 kB / 0.9644 GB, free: 1.773 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.0001987/0.8469, allocations: 145.8 kB / 0.9645 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.8469, allocations: 23.72 kB / 0.9645 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.8474, allocations: 214.9 kB / 0.9647 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.8474, allocations: 4 kB / 0.9647 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8474, allocations: 4 kB / 0.9647 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8474, allocations: 0 / 0.9647 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.8484, allocations: 0.6796 MB / 0.9654 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8484, allocations: 4 kB / 0.9654 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.8486, allocations: 27.92 kB / 0.9654 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.8486, allocations: 4 kB / 0.9654 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.8486, allocations: 0.75 kB / 0.9654 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.8486, allocations: 11.92 kB / 0.9654 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.8486, allocations: 4 kB / 0.9654 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.849, allocations: 338 kB / 0.9658 GB, free: 208 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.8492, allocations: 120.8 kB / 0.9659 GB, free: 68 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.8492, allocations: 4 kB / 0.9659 GB, free: 64 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.8494, allocations: 11.94 kB / 0.9659 GB, free: 52 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.8494, allocations: 11.92 kB / 0.9659 GB, free: 40 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.8494, allocations: 10.25 kB / 0.9659 GB, free: 32 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002131/0.8497, allocations: 223 kB / 0.9661 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8497, allocations: 0 / 0.9661 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0003755/0.8501, allocations: 79.84 kB / 0.9662 GB, free: 15.73 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.0003699/0.8504, allocations: 167 kB / 0.9664 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.8509, allocations: 165.4 kB / 0.9665 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8509, allocations: 0 / 0.9665 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.8511, allocations: 87.81 kB / 0.9666 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.8519, allocations: 152.5 kB / 0.9667 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008938/0.8528, allocations: 0.5639 MB / 0.9673 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.8532, allocations: 0.7833 MB / 0.9681 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.8532, allocations: 23.44 kB / 0.9681 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of SimCode: time 3.11e-07/0.8532, allocations: 0 / 0.9681 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of Templates: time 0.006968/0.8602, allocations: 4.545 MB / 0.9725 GB, free: 9.332 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)