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.1677/0.1696, allocations: 80.84 MB / 0.6706 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5961/0.7657, allocations: 179.5 MB / 0.846 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008818/0.7746, allocations: 7.862 MB / 0.8536 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.7752, allocations: 18 kB / 0.8537 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.7764, allocations: 341.2 kB / 0.854 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.7792, allocations: 1.097 MB / 0.855 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.7815, allocations: 0.9426 MB / 0.856 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.7836, allocations: 1.511 MB / 0.8574 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008678/0.7845, allocations: 0.5377 MB / 0.858 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.7869, allocations: 1.008 MB / 0.859 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/0.7877, allocations: 0.5747 MB / 0.8595 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.7878, allocations: 65.78 kB / 0.8596 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.7895, allocations: 0.746 MB / 0.8603 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.7898, allocations: 264.6 kB / 0.8606 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.7903, allocations: 372.6 kB / 0.8609 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.792, allocations: 1.217 MB / 0.8621 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.792, allocations: 0 / 0.8621 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.492e-06/0.792, allocations: 0 / 0.8621 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.792, allocations: 0 / 0.8621 GB, free: 5.23 MB / 0.6231 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.001831/0.7939, allocations: 1.06 MB / 0.8631 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7939, allocations: 7.719 kB / 0.8631 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/0.7949, allocations: 149.2 kB / 0.8633 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008848/0.7958, allocations: 477.2 kB / 0.8637 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.7959, allocations: 104.6 kB / 0.8638 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.796, allocations: 59.22 kB / 0.8639 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.797, allocations: 0.5515 MB / 0.8644 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.7971, allocations: 0 / 0.8644 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.7971, allocations: 28 kB / 0.8645 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.7971, allocations: 12 kB / 0.8645 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.798, allocations: 477 kB / 0.8649 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.8009, allocations: 1.918 MB / 0.8668 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.8015, allocations: 350.2 kB / 0.8671 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.8017, allocations: 172.8 kB / 0.8673 GB, free: 380 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.8021, allocations: 117 kB / 0.8674 GB, free: 244 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.8021, allocations: 43.44 kB / 0.8675 GB, free: 192 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.8021, allocations: 0 / 0.8675 GB, free: 192 kB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.001079/0.8032, allocations: 0.5597 MB / 0.868 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.8033, allocations: 55.41 kB / 0.8681 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.8038, allocations: 0.5175 MB / 0.8686 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.8038, allocations: 33.7 kB / 0.8686 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.804, allocations: 276.3 kB / 0.8689 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.8041, allocations: 114.3 kB / 0.869 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.8043, allocations: 82.12 kB / 0.869 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8044, allocations: 362.8 kB / 0.8694 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.8048, allocations: 176.8 kB / 0.8696 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.8051, allocations: 252 kB / 0.8698 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.8058, allocations: 482.5 kB / 0.8703 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8059, allocations: 0 / 0.8703 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009457/0.8068, allocations: 0.5972 MB / 0.8708 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.8069, allocations: 67.95 kB / 0.8709 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8069, allocations: 0 / 0.8709 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.8069, allocations: 4 kB / 0.8709 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.8073, allocations: 90.84 kB / 0.871 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.8073, allocations: 4 kB / 0.871 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.8076, allocations: 59.27 kB / 0.8711 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.8077, allocations: 20.19 kB / 0.8711 GB, free: 12.33 MB / 0.6387 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 (senHSen_flow.i_x,senHLat_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.8079, allocations: 189.8 kB / 0.8713 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.808, allocations: 59.28 kB / 0.8713 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000892/0.8089, allocations: 478.4 kB / 0.8718 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8089, allocations: 7.938 kB / 0.8718 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.809, allocations: 0 / 0.8718 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.809, allocations: 4 kB / 0.8718 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.8105, allocations: 1.089 MB / 0.8728 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.8105, allocations: 4 kB / 0.8728 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.8108, allocations: 59.89 kB / 0.8729 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.8109, allocations: 8.188 kB / 0.8729 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.8109, allocations: 8 kB / 0.8729 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.8109, allocations: 4 kB / 0.8729 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8109, allocations: 4 kB / 0.8729 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.8121, allocations: 0.7849 MB / 0.8737 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.8125, allocations: 192.4 kB / 0.8739 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.8125, allocations: 8 kB / 0.8739 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.813, allocations: 29.03 kB / 0.8739 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.8131, allocations: 31.91 kB / 0.8739 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.8132, allocations: 23.97 kB / 0.874 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003826/0.8136, allocations: 370.8 kB / 0.8743 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8136, allocations: 0 / 0.8743 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005843/0.8142, allocations: 167.8 kB / 0.8745 GB, free: 8.703 MB / 0.6387 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 (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.0004297/0.8146, allocations: 183.4 kB / 0.8747 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000838/0.8154, allocations: 0.522 MB / 0.8752 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8155, allocations: 0 / 0.8752 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.8158, allocations: 191.7 kB / 0.8753 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.8172, allocations: 316.6 kB / 0.8756 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.8189, allocations: 1.185 MB / 0.8768 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.8194, allocations: 0.8744 MB / 0.8777 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004215/0.8198, allocations: 124.8 kB / 0.8778 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.82, allocations: 51.44 kB / 0.8778 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.82, allocations: 0 / 0.8778 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of Templates: time 0.02039/0.8404, allocations: 11.77 MB / 0.8893 GB, free: 9.551 MB / 0.6544 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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)