Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000935/0.0009393, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008799/0.0008802, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 222.1 MB, free: 5.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5971/0.5971, allocations: 95.63 MB / 366 MB, free: 10.27 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 16 kB / 446.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4183, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.582/1, allocations: 132.4 MB / 0.6344 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005254/1.006, allocations: 2.74 MB / 0.6371 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008804/1.007, allocations: 15.47 kB / 0.6371 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008535/1.007, allocations: 152.5 kB / 0.6372 GB, free: 1.887 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001427/1.009, allocations: 374.7 kB / 0.6376 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/1.011, allocations: 410.5 kB / 0.638 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002156/1.013, allocations: 1.102 MB / 0.6391 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009646/1.014, allocations: 256.3 kB / 0.6393 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/1.015, allocations: 350.6 kB / 0.6396 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009873/1.016, allocations: 328.7 kB / 0.64 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/1.016, allocations: 21.25 kB / 0.64 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/1.017, allocations: 123.3 kB / 0.6401 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/1.017, allocations: 84.88 kB / 0.6402 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005253/1.018, allocations: 101.8 kB / 0.6403 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009133/1.019, allocations: 411.5 kB / 0.6407 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/1.019, allocations: 0 / 0.6407 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.831e-06/1.019, allocations: 0.9062 kB / 0.6407 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.249e-05/1.019, allocations: 0 / 0.6407 GB, free: 17.74 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001347/1.02, allocations: 0.6513 MB / 0.6413 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.02, allocations: 13.92 kB / 0.6413 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/1.02, allocations: 48.34 kB / 0.6414 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/1.021, allocations: 348.6 kB / 0.6417 GB, free: 17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.021, allocations: 54.98 kB / 0.6418 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/1.021, allocations: 27.34 kB / 0.6418 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008266/1.022, allocations: 368.8 kB / 0.6421 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.022, allocations: 4.656 kB / 0.6421 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/1.022, allocations: 14.34 kB / 0.6421 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/1.022, allocations: 6.938 kB / 0.6422 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/1.023, allocations: 261.9 kB / 0.6424 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/1.025, allocations: 1.443 MB / 0.6438 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/1.026, allocations: 148.8 kB / 0.644 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/1.026, allocations: 79.08 kB / 0.644 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/1.026, allocations: 126.2 kB / 0.6442 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/1.026, allocations: 40.66 kB / 0.6442 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 4.298e-06/1.026, allocations: 0 / 0.6442 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0007531/1.027, allocations: 280.4 kB / 0.6445 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/1.027, allocations: 108.8 kB / 0.6446 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/1.028, allocations: 397 kB / 0.6449 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/1.028, allocations: 28.36 kB / 0.645 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/1.028, allocations: 240.9 kB / 0.6452 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/1.028, allocations: 50.09 kB / 0.6452 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/1.028, allocations: 2.938 kB / 0.6452 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002093/1.028, allocations: 346.6 kB / 0.6456 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/1.028, allocations: 85.64 kB / 0.6457 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/1.029, allocations: 195.1 kB / 0.6458 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/1.029, allocations: 110.8 kB / 0.6459 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.029, allocations: 6.594 kB / 0.646 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006627/1.03, allocations: 329.5 kB / 0.6463 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.03, allocations: 6.219 kB / 0.6463 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.03, allocations: 8.281 kB / 0.6463 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/1.03, allocations: 4.438 kB / 0.6463 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/1.03, allocations: 62.86 kB / 0.6463 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.03, allocations: 9.906 kB / 0.6464 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/1.03, allocations: 62.05 kB / 0.6464 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/1.03, allocations: 10.38 kB / 0.6464 GB, free: 14.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/1.031, allocations: 157.5 kB / 0.6466 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/1.031, allocations: 33.5 kB / 0.6466 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/1.031, allocations: 240.5 kB / 0.6468 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.031, allocations: 1.562 kB / 0.6468 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.031, allocations: 0.5312 kB / 0.6468 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.031, allocations: 0.5312 kB / 0.6468 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/1.032, allocations: 0.6474 MB / 0.6475 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.032, allocations: 0 / 0.6475 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/1.033, allocations: 29.81 kB / 0.6475 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.033, allocations: 0 / 0.6475 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/1.033, allocations: 8.219 kB / 0.6475 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.033, allocations: 9.969 kB / 0.6475 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.033, allocations: 0 / 0.6475 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/1.033, allocations: 427.7 kB / 0.6479 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.033, allocations: 114.5 kB / 0.648 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/1.033, allocations: 3.5 kB / 0.648 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/1.034, allocations: 23.03 kB / 0.6481 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/1.034, allocations: 16.02 kB / 0.6481 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/1.034, allocations: 13.72 kB / 0.6481 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003655/1.034, allocations: 277.2 kB / 0.6484 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.034, allocations: 0 / 0.6484 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006055/1.035, allocations: 107.4 kB / 0.6485 GB, free: 13.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (senH_flow.h_out,senH.h_out) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004323/1.035, allocations: 159.9 kB / 0.6486 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005188/1.036, allocations: 220.7 kB / 0.6488 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.036, allocations: 0 / 0.6488 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/1.036, allocations: 92.81 kB / 0.6489 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.037, allocations: 165.6 kB / 0.6491 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/1.039, allocations: 0.8709 MB / 0.6499 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/1.039, allocations: 0.7977 MB / 0.6507 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003229/1.04, allocations: 75.5 kB / 0.6508 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/1.04, allocations: 32.91 kB / 0.6508 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/1.04, allocations: 0 / 0.6508 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.01294/1.053, allocations: 6.062 MB / 0.6567 GB, free: 12.13 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: