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.1832/0.1853, allocations: 80.83 MB / 0.6706 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.604/0.7893, allocations: 179.5 MB / 0.846 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.8016, allocations: 7.862 MB / 0.8536 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.8028, allocations: 19.88 kB / 0.8537 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.8045, allocations: 329.8 kB / 0.854 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.809, allocations: 1.096 MB / 0.855 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.8122, allocations: 0.9476 MB / 0.856 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.8148, allocations: 1.509 MB / 0.8574 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.8159, allocations: 0.5329 MB / 0.858 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.8185, allocations: 1.004 MB / 0.8589 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.8198, allocations: 0.5723 MB / 0.8595 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.82, allocations: 64 kB / 0.8596 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.8217, allocations: 0.7486 MB / 0.8603 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.8221, allocations: 255.3 kB / 0.8605 GB, free: 15.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006448/0.8228, allocations: 386.3 kB / 0.8609 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.825, allocations: 1.214 MB / 0.8621 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.825, allocations: 4 kB / 0.8621 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.472e-06/0.825, allocations: 0 / 0.8621 GB, free: 14.38 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.896e-05/0.8251, allocations: 0 / 0.8621 GB, free: 14.38 MB / 0.67 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.0025/0.8276, allocations: 1.056 MB / 0.8631 GB, free: 13.27 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.8276, allocations: 12.03 kB / 0.8631 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.8287, allocations: 151.2 kB / 0.8633 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009723/0.8297, allocations: 481.4 kB / 0.8637 GB, free: 12.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.8299, allocations: 96.72 kB / 0.8638 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.83, allocations: 52 kB / 0.8639 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.8311, allocations: 0.5608 MB / 0.8644 GB, free: 11.87 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.8312, allocations: 0 / 0.8644 GB, free: 11.87 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.8312, allocations: 20 kB / 0.8644 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.8313, allocations: 16 kB / 0.8645 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009091/0.8322, allocations: 484.9 kB / 0.8649 GB, free: 11.36 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.8357, allocations: 1.914 MB / 0.8668 GB, free: 9.305 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.8363, allocations: 333.8 kB / 0.8671 GB, free: 8.973 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.8366, allocations: 180.8 kB / 0.8673 GB, free: 8.793 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/0.837, allocations: 129 kB / 0.8674 GB, free: 8.648 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.837, allocations: 38.56 kB / 0.8674 GB, free: 8.602 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.335e-06/0.837, allocations: 0 / 0.8674 GB, free: 8.602 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.001202/0.8382, allocations: 0.552 MB / 0.868 GB, free: 8.043 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.8383, allocations: 55.41 kB / 0.868 GB, free: 7.977 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007064/0.839, allocations: 0.5215 MB / 0.8685 GB, free: 7.445 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/0.8391, allocations: 37.7 kB / 0.8686 GB, free: 7.402 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.8393, allocations: 268.3 kB / 0.8688 GB, free: 7.137 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.8394, allocations: 118.3 kB / 0.8689 GB, free: 7.02 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.8396, allocations: 89.97 kB / 0.869 GB, free: 6.926 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8398, allocations: 362.7 kB / 0.8694 GB, free: 6.562 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.8401, allocations: 172.8 kB / 0.8695 GB, free: 6.395 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.8405, allocations: 252 kB / 0.8698 GB, free: 6.121 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007319/0.8412, allocations: 483.1 kB / 0.8702 GB, free: 5.609 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8413, allocations: 0 / 0.8702 GB, free: 5.609 MB / 0.67 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001034/0.8423, allocations: 0.5932 MB / 0.8708 GB, free: 4.996 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/0.8424, allocations: 67.34 kB / 0.8709 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8424, allocations: 4 kB / 0.8709 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.8424, allocations: 4 kB / 0.8709 GB, free: 4.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.8428, allocations: 85.45 kB / 0.871 GB, free: 4.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.8428, allocations: 4.25 kB / 0.871 GB, free: 4.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.8432, allocations: 71.27 kB / 0.8711 GB, free: 4.754 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.8432, allocations: 16 kB / 0.8711 GB, free: 4.738 MB / 0.67 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.0002482/0.8435, allocations: 189.8 kB / 0.8712 GB, free: 4.543 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.8436, allocations: 59.28 kB / 0.8713 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008972/0.8445, allocations: 478 kB / 0.8718 GB, free: 4.016 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8446, allocations: 4 kB / 0.8718 GB, free: 4.012 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.8446, allocations: 4.875 kB / 0.8718 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.8446, allocations: 3.984 kB / 0.8718 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.8462, allocations: 1.081 MB / 0.8728 GB, free: 2.848 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.8462, allocations: 4.188 kB / 0.8728 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.8465, allocations: 67.89 kB / 0.8729 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.8465, allocations: 4 kB / 0.8729 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.8466, allocations: 9 kB / 0.8729 GB, free: 2.766 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.8466, allocations: 4 kB / 0.8729 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8466, allocations: 0 / 0.8729 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.8478, allocations: 0.7849 MB / 0.8737 GB, free: 1.941 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.8481, allocations: 192.3 kB / 0.8739 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.8482, allocations: 8 kB / 0.8739 GB, free: 1.727 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.8487, allocations: 35.97 kB / 0.8739 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.8487, allocations: 23.91 kB / 0.8739 GB, free: 1.668 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.8488, allocations: 27.98 kB / 0.874 GB, free: 1.641 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003889/0.8492, allocations: 370.8 kB / 0.8743 GB, free: 1.281 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8492, allocations: 0 / 0.8743 GB, free: 1.281 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005546/0.8498, allocations: 171.7 kB / 0.8745 GB, free: 1.113 MB / 0.67 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.0005173/0.8503, allocations: 184.2 kB / 0.8746 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008547/0.8512, allocations: 0.5101 MB / 0.8751 GB, free: 416 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8512, allocations: 0 / 0.8751 GB, free: 416 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.8515, allocations: 199.7 kB / 0.8753 GB, free: 216 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.8529, allocations: 309.4 kB / 0.8756 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.8548, allocations: 1.173 MB / 0.8768 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.8552, allocations: 0.8822 MB / 0.8776 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003717/0.8556, allocations: 128.8 kB / 0.8778 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.8557, allocations: 43.44 kB / 0.8778 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.8557, allocations: 0 / 0.8778 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of Templates: time 0.01911/0.8748, allocations: 11.58 MB / 0.8891 GB, free: 2.176 MB / 0.6856 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)