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.001537/0.001537, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.52/1.52, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.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.817/1.817, allocations: 292.3 MB / 0.5488 GB, free: 12.84 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.001473/0.001473, allocations: 77.19 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2564, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7934/1.05, allocations: 167.5 MB / 0.947 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008759/1.059, allocations: 6.531 MB / 0.9533 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007667/1.06, allocations: 15.84 kB / 0.9534 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006531/1.06, allocations: 172.9 kB / 0.9535 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/1.063, allocations: 0.8414 MB / 0.9543 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009825/1.064, allocations: 319.2 kB / 0.9547 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008904/1.065, allocations: 0.7247 MB / 0.9554 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/1.065, allocations: 268 kB / 0.9556 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/1.066, allocations: 0.5495 MB / 0.9562 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/1.067, allocations: 270 kB / 0.9564 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/1.067, allocations: 23 kB / 0.9564 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/1.067, allocations: 342.3 kB / 0.9568 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/1.068, allocations: 107.7 kB / 0.9569 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/1.068, allocations: 169.5 kB / 0.957 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007548/1.069, allocations: 464.9 kB / 0.9575 GB, free: 468 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.069, allocations: 0 / 0.9575 GB, free: 468 kB / 0.7169 GB Notification: Performance of FrontEnd: time 3.527e-06/1.069, allocations: 1.125 kB / 0.9575 GB, free: 468 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.069, allocations: 1.094 kB / 0.9575 GB, free: 468 kB / 0.7169 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.000963/1.07, allocations: 0.6175 MB / 0.9581 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.07, allocations: 9 kB / 0.9581 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/1.07, allocations: 57.56 kB / 0.9581 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/1.07, allocations: 318 kB / 0.9584 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.07, allocations: 17.91 kB / 0.9585 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/1.071, allocations: 28.17 kB / 0.9585 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/1.071, allocations: 314.6 kB / 0.9588 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.071, allocations: 5.25 kB / 0.9588 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/1.071, allocations: 13.69 kB / 0.9588 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/1.071, allocations: 10.2 kB / 0.9588 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/1.072, allocations: 199.9 kB / 0.959 GB, free: 15.62 MB / 0.7325 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.001598/1.073, allocations: 1.539 MB / 0.9605 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/1.073, allocations: 121.2 kB / 0.9606 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/1.074, allocations: 90.66 kB / 0.9607 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006754/1.074, allocations: 312.5 kB / 0.961 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/1.074, allocations: 36 kB / 0.961 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/1.074, allocations: 1.203 kB / 0.961 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007473/1.075, allocations: 264 kB / 0.9613 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.075, allocations: 56.44 kB / 0.9613 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/1.076, allocations: 313.1 kB / 0.9616 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/1.076, allocations: 26.64 kB / 0.9617 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/1.076, allocations: 183.5 kB / 0.9618 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/1.076, allocations: 44.67 kB / 0.9619 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/1.076, allocations: 36.66 kB / 0.9619 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.076, allocations: 336.4 kB / 0.9622 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/1.076, allocations: 59.69 kB / 0.9623 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/1.076, allocations: 120.3 kB / 0.9624 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/1.077, allocations: 172.7 kB / 0.9626 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.077, allocations: 1.281 kB / 0.9626 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004162/1.077, allocations: 219.6 kB / 0.9628 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.077, allocations: 8.562 kB / 0.9628 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.077, allocations: 7.125 kB / 0.9628 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.077, allocations: 3 kB / 0.9628 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.077, allocations: 41.16 kB / 0.9628 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.077, allocations: 6.156 kB / 0.9629 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/1.078, allocations: 29 kB / 0.9629 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/1.078, allocations: 11.47 kB / 0.9629 GB, free: 13.17 MB / 0.7325 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.0001437/1.078, allocations: 153.8 kB / 0.963 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/1.078, allocations: 28.44 kB / 0.9631 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/1.078, allocations: 207.8 kB / 0.9633 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.078, allocations: 1.75 kB / 0.9633 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.078, allocations: 2.5 kB / 0.9633 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.078, allocations: 4.531 kB / 0.9633 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/1.079, allocations: 0.6845 MB / 0.9639 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.079, allocations: 2.469 kB / 0.9639 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/1.079, allocations: 32.39 kB / 0.964 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.079, allocations: 6.75 kB / 0.964 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.079, allocations: 3.656 kB / 0.964 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/1.08, allocations: 9.125 kB / 0.964 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.08, allocations: 2.781 kB / 0.964 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/1.08, allocations: 329.1 kB / 0.9643 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/1.08, allocations: 116.9 kB / 0.9644 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/1.08, allocations: 7.75 kB / 0.9644 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/1.08, allocations: 12.02 kB / 0.9644 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/1.08, allocations: 22.78 kB / 0.9645 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/1.08, allocations: 5.125 kB / 0.9645 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002331/1.081, allocations: 225.1 kB / 0.9647 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.081, allocations: 0 / 0.9647 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003964/1.081, allocations: 74.56 kB / 0.9648 GB, free: 12.18 MB / 0.7325 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.0003993/1.082, allocations: 152.1 kB / 0.9649 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004147/1.082, allocations: 163.2 kB / 0.9651 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.082, allocations: 4.312 kB / 0.9651 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/1.082, allocations: 84.09 kB / 0.9651 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/1.083, allocations: 158.4 kB / 0.9653 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009207/1.084, allocations: 0.5423 MB / 0.9658 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/1.084, allocations: 0.7947 MB / 0.9666 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001976/1.085, allocations: 57.78 kB / 0.9666 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/1.085, allocations: 26.62 kB / 0.9667 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/1.085, allocations: 1.094 kB / 0.9667 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.01296/1.098, allocations: 5.114 MB / 0.9717 GB, free: 10.2 MB / 0.7325 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)