Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2247/0.2256, allocations: 82.21 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7564/0.9821, allocations: 152.2 MB / 0.7421 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009838/0.992, allocations: 6.06 MB / 0.748 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007898/0.9928, allocations: 9.75 kB / 0.748 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009758/0.9938, allocations: 171.9 kB / 0.7482 GB, free: 15.21 MB / 0.545 GB [/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.002374/0.9962, allocations: 0.5674 MB / 0.7488 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.9977, allocations: 375.4 kB / 0.7491 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.9999, allocations: 1.302 MB / 0.7504 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008479/1.001, allocations: 293 kB / 0.7507 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/1.003, allocations: 0.6348 MB / 0.7513 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009998/1.004, allocations: 383.2 kB / 0.7517 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/1.004, allocations: 26.84 kB / 0.7517 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/1.005, allocations: 90.98 kB / 0.7518 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/1.005, allocations: 164.8 kB / 0.7519 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/1.005, allocations: 115.8 kB / 0.752 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005942/1.006, allocations: 490.5 kB / 0.7525 GB, free: 14.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.006, allocations: 1.375 kB / 0.7525 GB, free: 14.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/1.006, allocations: 0 / 0.7525 GB, free: 14.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.006, allocations: 0 / 0.7525 GB, free: 14.13 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001285/1.007, allocations: 0.6774 MB / 0.7532 GB, free: 13.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.007, allocations: 10 kB / 0.7532 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/1.007, allocations: 66.28 kB / 0.7532 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/1.008, allocations: 356.4 kB / 0.7536 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/1.008, allocations: 62.88 kB / 0.7536 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/1.008, allocations: 36.22 kB / 0.7537 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007591/1.009, allocations: 417.8 kB / 0.7541 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.009, allocations: 7.062 kB / 0.7541 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/1.009, allocations: 15.84 kB / 0.7541 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/1.009, allocations: 10.44 kB / 0.7541 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/1.01, allocations: 338.1 kB / 0.7544 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/1.012, allocations: 1.435 MB / 0.7558 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/1.012, allocations: 193.5 kB / 0.756 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/1.012, allocations: 102.3 kB / 0.7561 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/1.013, allocations: 126.3 kB / 0.7562 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.013, allocations: 40.08 kB / 0.7563 GB, free: 11.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/1.013, allocations: 0 / 0.7563 GB, free: 11.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0006661/1.014, allocations: 333.5 kB / 0.7566 GB, free: 11.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.014, allocations: 59.25 kB / 0.7566 GB, free: 11.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/1.014, allocations: 424.5 kB / 0.7571 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/1.014, allocations: 33.55 kB / 0.7571 GB, free: 11.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/1.014, allocations: 227.4 kB / 0.7573 GB, free: 11.37 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/1.014, allocations: 61.45 kB / 0.7574 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/1.014, allocations: 10.91 kB / 0.7574 GB, free: 11.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.015, allocations: 349 kB / 0.7577 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/1.015, allocations: 94.66 kB / 0.7578 GB, free: 10.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/1.015, allocations: 156.1 kB / 0.7579 GB, free: 10.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/1.015, allocations: 129.8 kB / 0.7581 GB, free: 10.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.015, allocations: 0 / 0.7581 GB, free: 10.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005004/1.016, allocations: 334.1 kB / 0.7584 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.016, allocations: 6.594 kB / 0.7584 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.016, allocations: 0 / 0.7584 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.016, allocations: 5.438 kB / 0.7584 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/1.016, allocations: 58.66 kB / 0.7585 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.016, allocations: 3.375 kB / 0.7585 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/1.016, allocations: 62.94 kB / 0.7585 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/1.016, allocations: 10.72 kB / 0.7585 GB, free: 10.71 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001683/1.016, allocations: 168.5 kB / 0.7587 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/1.017, allocations: 43.02 kB / 0.7587 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/1.017, allocations: 285.5 kB / 0.759 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.017, allocations: 2.438 kB / 0.759 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.017, allocations: 0 / 0.759 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/1.017, allocations: 3.984 kB / 0.759 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.018, allocations: 0.7924 MB / 0.7598 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.018, allocations: 0 / 0.7598 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/1.018, allocations: 42.2 kB / 0.7598 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.018, allocations: 7.297 kB / 0.7598 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/1.018, allocations: 6.188 kB / 0.7598 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.018, allocations: 2.562 kB / 0.7598 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.018, allocations: 2.656 kB / 0.7598 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/1.019, allocations: 0.5168 MB / 0.7603 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/1.019, allocations: 157.2 kB / 0.7605 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/1.019, allocations: 6.562 kB / 0.7605 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/1.02, allocations: 32.56 kB / 0.7605 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/1.02, allocations: 25.91 kB / 0.7606 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-05/1.02, allocations: 15.58 kB / 0.7606 GB, free: 9.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000368/1.02, allocations: 303 kB / 0.7609 GB, free: 9.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.02, allocations: 0 / 0.7609 GB, free: 9.418 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005136/1.021, allocations: 112.6 kB / 0.761 GB, free: 9.406 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (17): * Single equations (assignments): 17 * 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.0004677/1.021, allocations: 154.5 kB / 0.7611 GB, free: 9.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005342/1.022, allocations: 234.3 kB / 0.7613 GB, free: 9.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/1.022, allocations: 3.375 kB / 0.7613 GB, free: 9.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/1.022, allocations: 113.2 kB / 0.7614 GB, free: 9.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/1.023, allocations: 217.2 kB / 0.7617 GB, free: 9.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/1.025, allocations: 0.9768 MB / 0.7626 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/1.026, allocations: 0.8205 MB / 0.7634 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003988/1.026, allocations: 84.62 kB / 0.7635 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.944e-05/1.026, allocations: 32.06 kB / 0.7635 GB, free: 7.691 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/1.026, allocations: 4 kB / 0.7635 GB, free: 7.688 MB / 0.545 GB Notification: Performance of Templates: time 0.01555/1.042, allocations: 7.528 MB / 0.7709 GB, free: 4 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: