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.001162/0.001166, allocations: 101.4 kB / 15.7 MB, free: 28 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.001193/0.001193, allocations: 197 kB / 16.64 MB, free: 6.582 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.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.933/1.933, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001526/0.001527, allocations: 74.53 kB / 0.6723 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2841, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7697/1.054, allocations: 167.5 MB / 0.9477 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008195/1.062, allocations: 6.538 MB / 0.9541 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/1.063, allocations: 12.41 kB / 0.9541 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006697/1.064, allocations: 171.1 kB / 0.9543 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002868/1.066, allocations: 0.8424 MB / 0.9551 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/1.068, allocations: 330.5 kB / 0.9554 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001307/1.069, allocations: 0.7129 MB / 0.9561 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/1.07, allocations: 275.4 kB / 0.9564 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/1.071, allocations: 0.549 MB / 0.9569 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004975/1.072, allocations: 274.5 kB / 0.9572 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/1.072, allocations: 23.06 kB / 0.9572 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009055/1.073, allocations: 339.4 kB / 0.9575 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/1.073, allocations: 107.5 kB / 0.9576 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002916/1.073, allocations: 163.5 kB / 0.9578 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009107/1.074, allocations: 474.3 kB / 0.9582 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.074, allocations: 0 / 0.9582 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.058e-06/1.074, allocations: 1.156 kB / 0.9582 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.074, allocations: 7.938 kB / 0.9583 GB, free: 1.266 MB / 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.001315/1.075, allocations: 0.6153 MB / 0.9589 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/1.076, allocations: 10.28 kB / 0.9589 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004179/1.076, allocations: 55.3 kB / 0.9589 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006983/1.077, allocations: 331 kB / 0.9592 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/1.077, allocations: 18.88 kB / 0.9592 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/1.077, allocations: 26.66 kB / 0.9593 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/1.077, allocations: 318.6 kB / 0.9596 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/1.078, allocations: 0 / 0.9596 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/1.078, allocations: 13.22 kB / 0.9596 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/1.078, allocations: 7.547 kB / 0.9596 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/1.078, allocations: 197.2 kB / 0.9598 GB, free: 16.43 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.001828/1.08, allocations: 1.539 MB / 0.9613 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/1.08, allocations: 124.7 kB / 0.9614 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/1.08, allocations: 88.25 kB / 0.9615 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006468/1.081, allocations: 305.6 kB / 0.9618 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/1.081, allocations: 35.59 kB / 0.9618 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/1.081, allocations: 0 / 0.9618 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0008599/1.082, allocations: 269.6 kB / 0.9621 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/1.082, allocations: 54.25 kB / 0.9621 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/1.083, allocations: 313.5 kB / 0.9624 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/1.083, allocations: 28.5 kB / 0.9625 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/1.083, allocations: 186.2 kB / 0.9626 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/1.083, allocations: 46.78 kB / 0.9627 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/1.083, allocations: 37.53 kB / 0.9627 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.083, allocations: 340.6 kB / 0.963 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/1.083, allocations: 64.48 kB / 0.9631 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/1.083, allocations: 111.8 kB / 0.9632 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/1.084, allocations: 174.6 kB / 0.9634 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.084, allocations: 0 / 0.9634 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004695/1.084, allocations: 227.7 kB / 0.9636 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.084, allocations: 5.25 kB / 0.9636 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.084, allocations: 1.531 kB / 0.9636 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.084, allocations: 2.875 kB / 0.9636 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/1.085, allocations: 36.91 kB / 0.9636 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.085, allocations: 6.875 kB / 0.9636 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/1.085, allocations: 29.08 kB / 0.9637 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/1.085, allocations: 14.97 kB / 0.9637 GB, free: 13.99 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.0001896/1.085, allocations: 153.8 kB / 0.9638 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/1.085, allocations: 24.28 kB / 0.9638 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/1.086, allocations: 206.9 kB / 0.964 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.086, allocations: 1.219 kB / 0.964 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.086, allocations: 1.594 kB / 0.964 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.086, allocations: 0 / 0.964 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.087, allocations: 0.6884 MB / 0.9647 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.087, allocations: 5.5 kB / 0.9647 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/1.087, allocations: 34.42 kB / 0.9648 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.087, allocations: 2.562 kB / 0.9648 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/1.087, allocations: 4.281 kB / 0.9648 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.087, allocations: 5.344 kB / 0.9648 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.087, allocations: 2.844 kB / 0.9648 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/1.087, allocations: 327.2 kB / 0.9651 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/1.087, allocations: 120.5 kB / 0.9652 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/1.088, allocations: 10.69 kB / 0.9652 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/1.088, allocations: 12.97 kB / 0.9652 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/1.088, allocations: 21.98 kB / 0.9652 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/1.088, allocations: 7.375 kB / 0.9653 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000291/1.088, allocations: 224.3 kB / 0.9655 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.088, allocations: 1.312 kB / 0.9655 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000381/1.088, allocations: 73.34 kB / 0.9655 GB, free: 13 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.0003973/1.089, allocations: 153.1 kB / 0.9657 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004302/1.089, allocations: 163 kB / 0.9658 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.089, allocations: 1.031 kB / 0.9658 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/1.09, allocations: 86.73 kB / 0.9659 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/1.09, allocations: 158.9 kB / 0.9661 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.091, allocations: 0.5334 MB / 0.9666 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/1.092, allocations: 0.7829 MB / 0.9674 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002042/1.092, allocations: 71.05 kB / 0.9674 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/1.092, allocations: 26.12 kB / 0.9675 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of SimCode: time 2.053e-06/1.092, allocations: 0 / 0.9675 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.01189/1.104, allocations: 5.108 MB / 0.9724 GB, free: 10.99 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)