Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8441/0.8441, allocations: 132.4 MB / 139.9 MB, free: 2.809 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001157/0.001157, allocations: 185.2 kB / 171.8 MB, free: 4.918 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.138/1.138, allocations: 170.6 MB / 374.2 MB, free: 92 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001312/0.001311, allocations: 102.5 kB / 444.8 MB, free: 14.13 MB / 314.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.1405/0.1405, allocations: 73.41 MB / 0.6666 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.937/5.078, allocations: 2.121 GB / 2.788 GB, free: 51.69 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/5.078, allocations: 83.95 kB / 2.788 GB, free: 51.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.7967/5.875, allocations: 233.8 MB / 3.016 GB, free: 71.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/5.875, allocations: 0 / 3.016 GB, free: 71.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.428e-05/5.875, allocations: 12 kB / 3.016 GB, free: 71.51 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001843/5.877, allocations: 0.7171 MB / 3.017 GB, free: 70.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/5.877, allocations: 12.03 kB / 3.017 GB, free: 70.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/5.878, allocations: 147.3 kB / 3.017 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/5.879, allocations: 357.5 kB / 3.018 GB, free: 70.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/5.879, allocations: 16 kB / 3.018 GB, free: 70.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/5.879, allocations: 20 kB / 3.018 GB, free: 70.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004973/5.88, allocations: 249.5 kB / 3.018 GB, free: 69.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/5.88, allocations: 338.2 kB / 3.018 GB, free: 69.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/5.88, allocations: 3.953 kB / 3.018 GB, free: 69.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/5.88, allocations: 0 / 3.018 GB, free: 69.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/5.88, allocations: 8 kB / 3.018 GB, free: 69.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/5.882, allocations: 1.258 MB / 3.019 GB, free: 68.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/5.883, allocations: 102.5 kB / 3.019 GB, free: 68.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/5.883, allocations: 60.78 kB / 3.019 GB, free: 68.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/5.883, allocations: 113.1 kB / 3.02 GB, free: 67.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/5.883, allocations: 42.45 kB / 3.02 GB, free: 67.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/5.883, allocations: 0 / 3.02 GB, free: 67.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004748/5.884, allocations: 186.9 kB / 3.02 GB, free: 67.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/5.884, allocations: 55.41 kB / 3.02 GB, free: 67.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/5.884, allocations: 245.2 kB / 3.02 GB, free: 67.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/5.884, allocations: 25.7 kB / 3.02 GB, free: 67.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/5.884, allocations: 243.7 kB / 3.02 GB, free: 67.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/5.884, allocations: 59.2 kB / 3.02 GB, free: 67.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/5.884, allocations: 0 / 3.02 GB, free: 67.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/5.884, allocations: 334.8 kB / 3.021 GB, free: 66.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/5.884, allocations: 63.92 kB / 3.021 GB, free: 66.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/5.884, allocations: 141.7 kB / 3.021 GB, free: 66.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/5.885, allocations: 111.9 kB / 3.021 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/5.885, allocations: 4 kB / 3.021 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004625/5.885, allocations: 274.5 kB / 3.021 GB, free: 66.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/5.885, allocations: 8 kB / 3.021 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/5.885, allocations: 0 / 3.021 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/5.885, allocations: 7.953 kB / 3.021 GB, free: 66.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/5.885, allocations: 63.91 kB / 3.021 GB, free: 66.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/5.885, allocations: 4 kB / 3.021 GB, free: 66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/5.886, allocations: 39.92 kB / 3.021 GB, free: 65.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/5.886, allocations: 12.12 kB / 3.021 GB, free: 65.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 8.367e-05/5.886, allocations: 112.9 kB / 3.022 GB, free: 65.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/5.886, allocations: 31.7 kB / 3.022 GB, free: 65.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/5.886, allocations: 199.4 kB / 3.022 GB, free: 65.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/5.886, allocations: 3.953 kB / 3.022 GB, free: 65.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/5.886, allocations: 0 / 3.022 GB, free: 65.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/5.886, allocations: 7.969 kB / 3.022 GB, free: 65.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008126/5.887, allocations: 0.6404 MB / 3.022 GB, free: 64.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/5.887, allocations: 11.98 kB / 3.022 GB, free: 64.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/5.887, allocations: 31.92 kB / 3.022 GB, free: 64.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/5.887, allocations: 7.938 kB / 3.022 GB, free: 64.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/5.887, allocations: 4 kB / 3.022 GB, free: 64.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/5.887, allocations: 0 / 3.022 GB, free: 64.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/5.887, allocations: 4 kB / 3.022 GB, free: 64.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/5.888, allocations: 462.5 kB / 3.023 GB, free: 64.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/5.888, allocations: 140.7 kB / 3.023 GB, free: 64.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/5.888, allocations: 0 / 3.023 GB, free: 64.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/5.888, allocations: 19.98 kB / 3.023 GB, free: 64.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/5.888, allocations: 12.05 kB / 3.023 GB, free: 64.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/5.889, allocations: 19.98 kB / 3.023 GB, free: 64.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001689/5.889, allocations: 192.6 kB / 3.023 GB, free: 63.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.01e-07/5.889, allocations: 0 / 3.023 GB, free: 63.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007361/5.889, allocations: 191.6 kB / 3.023 GB, free: 63.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.002086/5.892, allocations: 1.177 MB / 3.025 GB, free: 62.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000328/5.892, allocations: 151.8 kB / 3.025 GB, free: 62.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/5.892, allocations: 0 / 3.025 GB, free: 62.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/5.892, allocations: 64.42 kB / 3.025 GB, free: 62.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008415/5.893, allocations: 129.5 kB / 3.025 GB, free: 62.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/5.894, allocations: 475.2 kB / 3.025 GB, free: 61.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/5.894, allocations: 0.8185 MB / 3.026 GB, free: 60.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003426/5.895, allocations: 67.17 kB / 3.026 GB, free: 60.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/5.895, allocations: 27.44 kB / 3.026 GB, free: 60.76 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/5.895, allocations: 0 / 3.026 GB, free: 60.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.01658/5.911, allocations: 10.9 MB / 3.037 GB, free: 49.89 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)