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.227/0.2278, allocations: 82.22 MB / 0.5935 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7298/0.9577, allocations: 152 MB / 0.7419 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.9608, allocations: 1.441 MB / 0.7433 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.961, allocations: 9 kB / 0.7434 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.9618, allocations: 153.5 kB / 0.7435 GB, free: 15.48 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001315/0.9631, allocations: 489.6 kB / 0.744 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.9648, allocations: 0.5009 MB / 0.7445 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.9667, allocations: 1.227 MB / 0.7457 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006016/0.9673, allocations: 257.3 kB / 0.7459 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.9686, allocations: 470.7 kB / 0.7463 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.9691, allocations: 325.4 kB / 0.7467 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.9691, allocations: 23.61 kB / 0.7467 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009376/0.9701, allocations: 350.5 kB / 0.747 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.9703, allocations: 160.8 kB / 0.7472 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.9705, allocations: 117 kB / 0.7473 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.9712, allocations: 0.5777 MB / 0.7478 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9712, allocations: 0 / 0.7478 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.126e-06/0.9712, allocations: 3.344 kB / 0.7478 GB, free: 14.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.9713, allocations: 0 / 0.7478 GB, free: 14.79 MB / 0.545 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.001389/0.9727, allocations: 0.6897 MB / 0.7485 GB, free: 14.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.9727, allocations: 10.03 kB / 0.7485 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.9739, allocations: 144.6 kB / 0.7487 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.9745, allocations: 352.4 kB / 0.749 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.9745, allocations: 29.38 kB / 0.749 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.9746, allocations: 32.47 kB / 0.7491 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.9754, allocations: 424.5 kB / 0.7495 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.9754, allocations: 1.344 kB / 0.7495 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.9754, allocations: 19.31 kB / 0.7495 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.9755, allocations: 8.594 kB / 0.7495 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.9761, allocations: 311.8 kB / 0.7498 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.9785, allocations: 1.497 MB / 0.7513 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.9788, allocations: 134.2 kB / 0.7514 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.979, allocations: 88.47 kB / 0.7515 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/0.9793, allocations: 130.5 kB / 0.7516 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.9794, allocations: 42.62 kB / 0.7516 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.9794, allocations: 0 / 0.7516 GB, free: 12.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006639/0.9801, allocations: 280.3 kB / 0.7519 GB, free: 12.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.9801, allocations: 56.73 kB / 0.752 GB, free: 12.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.9807, allocations: 441.8 kB / 0.7524 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.9807, allocations: 28.95 kB / 0.7524 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.9809, allocations: 233.3 kB / 0.7526 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.981, allocations: 48.8 kB / 0.7527 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.981, allocations: 5.719 kB / 0.7527 GB, free: 11.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.9812, allocations: 348 kB / 0.753 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.9814, allocations: 95.95 kB / 0.7531 GB, free: 11.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.9817, allocations: 168.7 kB / 0.7533 GB, free: 11.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.9819, allocations: 112 kB / 0.7534 GB, free: 11.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9819, allocations: 1.75 kB / 0.7534 GB, free: 11.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005479/0.9825, allocations: 330.9 kB / 0.7537 GB, free: 11.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.9825, allocations: 5.344 kB / 0.7537 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9825, allocations: 2.906 kB / 0.7537 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9826, allocations: 9.031 kB / 0.7537 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.9828, allocations: 64.03 kB / 0.7538 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.9828, allocations: 13.02 kB / 0.7538 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.9831, allocations: 50.58 kB / 0.7538 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.9831, allocations: 10.94 kB / 0.7538 GB, free: 11.21 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.9833, allocations: 178.3 kB / 0.754 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.9833, allocations: 42.17 kB / 0.754 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/0.9838, allocations: 234.5 kB / 0.7543 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.9838, allocations: 4 kB / 0.7543 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9838, allocations: 0 / 0.7543 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.9838, allocations: 7.484 kB / 0.7543 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.9848, allocations: 0.7268 MB / 0.755 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9848, allocations: 0.625 kB / 0.755 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.985, allocations: 31.86 kB / 0.755 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.985, allocations: 3.953 kB / 0.755 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.985, allocations: 5.094 kB / 0.755 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.985, allocations: 11.8 kB / 0.755 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.985, allocations: 5.75 kB / 0.755 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.9857, allocations: 456.8 kB / 0.7555 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.9859, allocations: 144.9 kB / 0.7556 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.986, allocations: 9.391 kB / 0.7556 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.9863, allocations: 32 kB / 0.7557 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.9863, allocations: 10.33 kB / 0.7557 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.9864, allocations: 17.45 kB / 0.7557 GB, free: 10.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003694/0.9868, allocations: 305.8 kB / 0.756 GB, free: 9.957 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9868, allocations: 5.797 kB / 0.756 GB, free: 9.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004434/0.9872, allocations: 114.8 kB / 0.7561 GB, free: 9.945 MB / 0.545 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 (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.000397/0.9876, allocations: 153.9 kB / 0.7562 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.9881, allocations: 212.3 kB / 0.7564 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9881, allocations: 4.156 kB / 0.7564 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.9883, allocations: 94.88 kB / 0.7565 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.9894, allocations: 232.9 kB / 0.7568 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.9906, allocations: 0.8661 MB / 0.7576 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.991, allocations: 0.8165 MB / 0.7584 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.9914, allocations: 82.22 kB / 0.7585 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.9915, allocations: 34.05 kB / 0.7585 GB, free: 8.305 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.9915, allocations: 0 / 0.7585 GB, free: 8.305 MB / 0.545 GB Notification: Performance of Templates: time 0.01517/1.007, allocations: 7.607 MB / 0.7659 GB, free: 4.578 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: