Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [/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.1545/0.1553, allocations: 82.22 MB / 0.5934 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5077/0.663, allocations: 149.7 MB / 0.7395 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007696/0.6708, allocations: 6.546 MB / 0.7459 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006635/0.6715, allocations: 21.03 kB / 0.7459 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009617/0.6724, allocations: 252.6 kB / 0.7462 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.6749, allocations: 0.7106 MB / 0.7469 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.677, allocations: 0.6771 MB / 0.7475 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.6785, allocations: 0.8241 MB / 0.7483 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.6792, allocations: 442.3 kB / 0.7487 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.6814, allocations: 0.8555 MB / 0.7496 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006426/0.682, allocations: 418.5 kB / 0.75 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.747e-05/0.6821, allocations: 34.38 kB / 0.75 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.6832, allocations: 337.4 kB / 0.7503 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.6834, allocations: 206 kB / 0.7505 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.6836, allocations: 157 kB / 0.7507 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.6844, allocations: 0.748 MB / 0.7514 GB, free: 13.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6844, allocations: 0 / 0.7514 GB, free: 13.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6844, allocations: 4 kB / 0.7514 GB, free: 13.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.6845, allocations: 0 / 0.7514 GB, free: 13.01 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001593/0.686, allocations: 0.9122 MB / 0.7523 GB, free: 12.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6861, allocations: 8.406 kB / 0.7523 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009228/0.687, allocations: 160.3 kB / 0.7525 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007875/0.6878, allocations: 445.1 kB / 0.7529 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.688, allocations: 108.2 kB / 0.753 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.6881, allocations: 55.5 kB / 0.753 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009691/0.6891, allocations: 0.5489 MB / 0.7536 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.6891, allocations: 2.5 kB / 0.7536 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/0.6891, allocations: 21.78 kB / 0.7536 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.6892, allocations: 12.12 kB / 0.7536 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/0.6899, allocations: 491.1 kB / 0.7541 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.693, allocations: 1.951 MB / 0.756 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.6935, allocations: 335.5 kB / 0.7563 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.6939, allocations: 140.2 kB / 0.7564 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.6939, allocations: 36.91 kB / 0.7565 GB, free: 10.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.6939, allocations: 0 / 0.7565 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0009915/0.6949, allocations: 0.5646 MB / 0.757 GB, free: 10.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.6949, allocations: 54.78 kB / 0.7571 GB, free: 9.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.6955, allocations: 0.5077 MB / 0.7576 GB, free: 9.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.6955, allocations: 34.48 kB / 0.7576 GB, free: 9.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.6957, allocations: 280.4 kB / 0.7579 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.93e-05/0.6958, allocations: 114.9 kB / 0.758 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.6959, allocations: 17.53 kB / 0.758 GB, free: 9.504 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.696, allocations: 357 kB / 0.7583 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.6963, allocations: 179.3 kB / 0.7585 GB, free: 9.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.6967, allocations: 253.4 kB / 0.7588 GB, free: 9.031 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.6971, allocations: 263.9 kB / 0.759 GB, free: 8.938 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6971, allocations: 2.625 kB / 0.759 GB, free: 8.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008812/0.698, allocations: 0.6055 MB / 0.7596 GB, free: 8.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.698, allocations: 58.62 kB / 0.7597 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6981, allocations: 0 / 0.7597 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.6981, allocations: 10.05 kB / 0.7597 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.6984, allocations: 88.17 kB / 0.7598 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.6985, allocations: 9 kB / 0.7598 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.6989, allocations: 78.12 kB / 0.7598 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.6989, allocations: 20.77 kB / 0.7599 GB, free: 8.602 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (senHLat_flow.i_x,senHSen_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * 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.0002402/0.6992, allocations: 192.7 kB / 0.76 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.6993, allocations: 59.62 kB / 0.7601 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007874/0.7, allocations: 490.1 kB / 0.7606 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7001, allocations: 2.906 kB / 0.7606 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.7001, allocations: 7.953 kB / 0.7606 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.7001, allocations: 6.797 kB / 0.7606 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.7015, allocations: 1.087 MB / 0.7616 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7016, allocations: 7.547 kB / 0.7617 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.7019, allocations: 61.53 kB / 0.7617 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.7019, allocations: 2.906 kB / 0.7617 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.7019, allocations: 10.91 kB / 0.7617 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.7019, allocations: 6.812 kB / 0.7617 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7019, allocations: 3.031 kB / 0.7617 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.7031, allocations: 0.8594 MB / 0.7626 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.7033, allocations: 194.9 kB / 0.7628 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.7034, allocations: 9.156 kB / 0.7628 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.7039, allocations: 47.89 kB / 0.7628 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.704, allocations: 24.19 kB / 0.7628 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.704, allocations: 22.2 kB / 0.7629 GB, free: 7.137 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003725/0.7044, allocations: 368.2 kB / 0.7632 GB, free: 7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7044, allocations: 0 / 0.7632 GB, free: 7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005475/0.705, allocations: 171.5 kB / 0.7634 GB, free: 6.977 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.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 (32): * Single equations (assignments): 32 * 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.0004456/0.7054, allocations: 186.8 kB / 0.7635 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00076/0.7062, allocations: 0.524 MB / 0.7641 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7062, allocations: 0 / 0.7641 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.7065, allocations: 202.3 kB / 0.7643 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.7078, allocations: 301.5 kB / 0.7645 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.7097, allocations: 1.419 MB / 0.7659 GB, free: 5.578 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.7101, allocations: 0.8816 MB / 0.7668 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004603/0.7106, allocations: 132 kB / 0.7669 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.7107, allocations: 46.59 kB / 0.767 GB, free: 4.734 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.7107, allocations: 4 kB / 0.767 GB, free: 4.73 MB / 0.545 GB Notification: Performance of Templates: time 0.01818/0.7289, allocations: 10.55 MB / 0.7773 GB, free: 15.59 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: