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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7216/0.7216, allocations: 132.3 MB / 144.9 MB, free: 10.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001088/0.001089, allocations: 173.6 kB / 176.9 MB, free: 2.188 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.377/1.377, allocations: 170.5 MB / 379.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001564/0.001564, allocations: 111.2 kB / 450 MB, free: 5.848 MB / 346.7 MB [/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.4065/0.4066, allocations: 73.39 MB / 0.6736 GB, free: 47.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.405/4.812, allocations: 2.123 GB / 2.797 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/4.812, allocations: 84.7 kB / 2.797 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.281/6.093, allocations: 291.1 MB / 3.081 GB, free: 132.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.335e-06/6.093, allocations: 2.25 kB / 3.081 GB, free: 132.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.329e-05/6.093, allocations: 13.09 kB / 3.081 GB, free: 132.8 MB / 0.6198 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.001302/6.094, allocations: 0.756 MB / 3.082 GB, free: 132.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/6.094, allocations: 10.91 kB / 3.082 GB, free: 132.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/6.095, allocations: 52.75 kB / 3.082 GB, free: 132.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/6.095, allocations: 370.4 kB / 3.082 GB, free: 132.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/6.095, allocations: 61.25 kB / 3.082 GB, free: 132.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/6.095, allocations: 47.81 kB / 3.083 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/6.096, allocations: 372.7 kB / 3.083 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/6.096, allocations: 0 / 3.083 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/6.096, allocations: 19.06 kB / 3.083 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/6.096, allocations: 9.531 kB / 3.083 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/6.097, allocations: 288.3 kB / 3.083 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/6.098, allocations: 1.306 MB / 3.084 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/6.099, allocations: 151.9 kB / 3.085 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/6.099, allocations: 76.83 kB / 3.085 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/6.099, allocations: 111.3 kB / 3.085 GB, free: 131.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/6.099, allocations: 43.12 kB / 3.085 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/6.099, allocations: 0 / 3.085 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0003743/6.1, allocations: 203.7 kB / 3.085 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/6.1, allocations: 53.94 kB / 3.085 GB, free: 131.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/6.1, allocations: 371.2 kB / 3.085 GB, free: 131.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/6.1, allocations: 35.58 kB / 3.085 GB, free: 131.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/6.1, allocations: 229.4 kB / 3.086 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/6.1, allocations: 64.84 kB / 3.086 GB, free: 131 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/6.1, allocations: 3.938 kB / 3.086 GB, free: 131 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/6.1, allocations: 348.1 kB / 3.086 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/6.1, allocations: 75.77 kB / 3.086 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/6.1, allocations: 142.7 kB / 3.086 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/6.101, allocations: 92.64 kB / 3.086 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/6.101, allocations: 0 / 3.086 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003889/6.101, allocations: 279.8 kB / 3.087 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/6.101, allocations: 5.156 kB / 3.087 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/6.101, allocations: 8.828 kB / 3.087 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/6.101, allocations: 7.75 kB / 3.087 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/6.101, allocations: 52.97 kB / 3.087 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/6.101, allocations: 6.047 kB / 3.087 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/6.102, allocations: 56.92 kB / 3.087 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/6.102, allocations: 10.22 kB / 3.087 GB, free: 130.6 MB / 0.6198 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 () * 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 7.766e-05/6.102, allocations: 122.9 kB / 3.087 GB, free: 130.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/6.102, allocations: 41 kB / 3.087 GB, free: 130.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/6.102, allocations: 236.4 kB / 3.087 GB, free: 130.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/6.102, allocations: 1.281 kB / 3.087 GB, free: 130.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/6.102, allocations: 4.25 kB / 3.087 GB, free: 130.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/6.102, allocations: 0.5625 kB / 3.087 GB, free: 130.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/6.103, allocations: 0.7383 MB / 3.088 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/6.103, allocations: 1.438 kB / 3.088 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/6.103, allocations: 42.03 kB / 3.088 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/6.103, allocations: 2.688 kB / 3.088 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/6.103, allocations: 8.359 kB / 3.088 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/6.103, allocations: 2.25 kB / 3.088 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/6.103, allocations: 9.859 kB / 3.088 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/6.104, allocations: 498 kB / 3.088 GB, free: 129.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/6.104, allocations: 156.6 kB / 3.089 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/6.104, allocations: 10.31 kB / 3.089 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/6.105, allocations: 34.95 kB / 3.089 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/6.105, allocations: 16.44 kB / 3.089 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/6.105, allocations: 21.27 kB / 3.089 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002917/6.105, allocations: 298.9 kB / 3.089 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/6.105, allocations: 1.719 kB / 3.089 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008307/6.106, allocations: 225.9 kB / 3.089 GB, free: 129.6 MB / 0.6198 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 () * 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.001598/6.107, allocations: 1.189 MB / 3.09 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003219/6.108, allocations: 183 kB / 3.091 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/6.108, allocations: 3.844 kB / 3.091 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/6.108, allocations: 88.25 kB / 3.091 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/6.109, allocations: 218.2 kB / 3.091 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/6.11, allocations: 0.5935 MB / 3.091 GB, free: 129 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/6.11, allocations: 0.8291 MB / 3.092 GB, free: 128.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003025/6.11, allocations: 83.78 kB / 3.092 GB, free: 128.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/6.111, allocations: 35.34 kB / 3.092 GB, free: 128.3 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/6.111, allocations: 0 / 3.092 GB, free: 128.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.03198/6.143, allocations: 25.49 MB / 3.117 GB, free: 127.7 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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)