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/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.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") [/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.1765/0.1786, allocations: 80.83 MB / 0.6706 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6582/0.8369, allocations: 167.4 MB / 0.8341 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00315/0.8401, allocations: 1.505 MB / 0.8355 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.8407, allocations: 12.91 kB / 0.8356 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000893/0.8417, allocations: 232.5 kB / 0.8358 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.8434, allocations: 0.588 MB / 0.8363 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.8455, allocations: 0.6857 MB / 0.837 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.8471, allocations: 1.04 MB / 0.838 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005477/0.8476, allocations: 315.5 kB / 0.8383 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.8489, allocations: 0.526 MB / 0.8388 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.8495, allocations: 320 kB / 0.8392 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-05/0.8496, allocations: 40.16 kB / 0.8392 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.8512, allocations: 0.651 MB / 0.8398 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.8515, allocations: 185 kB / 0.84 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.8519, allocations: 259.6 kB / 0.8402 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.8537, allocations: 0.8963 MB / 0.8411 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8537, allocations: 0 / 0.8411 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8537, allocations: 2.5 kB / 0.8411 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.8538, allocations: 4 kB / 0.8411 GB, free: 6.203 MB / 0.6075 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.001642/0.8554, allocations: 0.7786 MB / 0.8419 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.8555, allocations: 7.969 kB / 0.8419 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.8567, allocations: 155.5 kB / 0.842 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.8573, allocations: 369.7 kB / 0.8424 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.8573, allocations: 29.84 kB / 0.8424 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.8574, allocations: 34.44 kB / 0.8425 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007777/0.8582, allocations: 428.3 kB / 0.8429 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.8582, allocations: 2.719 kB / 0.8429 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.8583, allocations: 14.12 kB / 0.8429 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.8583, allocations: 10.44 kB / 0.8429 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005908/0.8589, allocations: 312.2 kB / 0.8432 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.8612, allocations: 1.485 MB / 0.8446 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.8616, allocations: 135 kB / 0.8448 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.8617, allocations: 85.16 kB / 0.8449 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.8621, allocations: 115.2 kB / 0.845 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.8622, allocations: 33.47 kB / 0.845 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.8622, allocations: 0 / 0.845 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006718/0.8628, allocations: 270 kB / 0.8453 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.8629, allocations: 57.22 kB / 0.8453 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.8634, allocations: 444.6 kB / 0.8457 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.8634, allocations: 32.52 kB / 0.8458 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.8636, allocations: 231.9 kB / 0.846 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.8637, allocations: 59.2 kB / 0.846 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.8638, allocations: 53.61 kB / 0.8461 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8639, allocations: 349.2 kB / 0.8464 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.8641, allocations: 92.98 kB / 0.8465 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.8643, allocations: 158.4 kB / 0.8467 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.8648, allocations: 256.2 kB / 0.8469 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.8648, allocations: 2.938 kB / 0.8469 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005765/0.8654, allocations: 316.8 kB / 0.8472 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.8654, allocations: 6.125 kB / 0.8472 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8654, allocations: 10.31 kB / 0.8472 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.8655, allocations: 3.219 kB / 0.8472 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.8657, allocations: 60.53 kB / 0.8473 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.8657, allocations: 6.844 kB / 0.8473 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.866, allocations: 54.48 kB / 0.8473 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.8661, allocations: 11.34 kB / 0.8474 GB, free: 1.344 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.8663, allocations: 171.5 kB / 0.8475 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.8664, allocations: 42.14 kB / 0.8476 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.8669, allocations: 233 kB / 0.8478 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.8669, allocations: 3.938 kB / 0.8478 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.867, allocations: 0 / 0.8478 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.867, allocations: 1.125 kB / 0.8478 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.8681, allocations: 0.7197 MB / 0.8485 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.8681, allocations: 5.766 kB / 0.8485 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.8683, allocations: 29.58 kB / 0.8485 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.8683, allocations: 0 / 0.8485 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.8683, allocations: 6.844 kB / 0.8485 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.8683, allocations: 6.375 kB / 0.8485 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.8684, allocations: 7.344 kB / 0.8485 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.8691, allocations: 442 kB / 0.849 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.8694, allocations: 154 kB / 0.8491 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.8694, allocations: 2.094 kB / 0.8491 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.8697, allocations: 18.2 kB / 0.8491 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.8698, allocations: 8.609 kB / 0.8491 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.8699, allocations: 22.55 kB / 0.8492 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003696/0.8703, allocations: 312.8 kB / 0.8495 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.8703, allocations: 0 / 0.8495 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005032/0.8708, allocations: 116 kB / 0.8496 GB, free: 15.71 MB / 0.6231 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 () * Number of clocked 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 (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.0004522/0.8712, allocations: 165.2 kB / 0.8497 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.8717, allocations: 208.8 kB / 0.8499 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8717, allocations: 0 / 0.8499 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.8719, allocations: 88.89 kB / 0.85 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.873, allocations: 246 kB / 0.8502 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.8742, allocations: 0.722 MB / 0.851 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.8747, allocations: 0.8152 MB / 0.8517 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003073/0.875, allocations: 92.08 kB / 0.8518 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.8751, allocations: 33.09 kB / 0.8519 GB, free: 14 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.8751, allocations: 4 kB / 0.8519 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of Templates: time 0.01518/0.8903, allocations: 8.334 MB / 0.86 GB, free: 7.641 MB / 0.6231 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)