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.1665/0.1672, allocations: 82.22 MB / 0.5941 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4935/0.6608, allocations: 163 MB / 0.7533 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.6632, allocations: 1.491 MB / 0.7547 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.6634, allocations: 8.344 kB / 0.7547 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.664, allocations: 206.4 kB / 0.7549 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.6652, allocations: 0.562 MB / 0.7555 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.6667, allocations: 0.6336 MB / 0.7561 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.668, allocations: 1.456 MB / 0.7575 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.6683, allocations: 264.1 kB / 0.7578 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008346/0.6692, allocations: 476.5 kB / 0.7582 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.6695, allocations: 338.1 kB / 0.7585 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.6696, allocations: 18.53 kB / 0.7585 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.6706, allocations: 0.7139 MB / 0.7592 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.6708, allocations: 157 kB / 0.7594 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.671, allocations: 267.7 kB / 0.7597 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.6719, allocations: 0.8911 MB / 0.7605 GB, free: 11.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6719, allocations: 2.719 kB / 0.7605 GB, free: 11.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6719, allocations: 0 / 0.7605 GB, free: 11.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.672, allocations: 3.938 kB / 0.7605 GB, free: 11.9 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.001106/0.6731, allocations: 0.6847 MB / 0.7612 GB, free: 11.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6731, allocations: 13.72 kB / 0.7612 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.6742, allocations: 153.3 kB / 0.7614 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.6746, allocations: 346.2 kB / 0.7617 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.6747, allocations: 24 kB / 0.7617 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.6747, allocations: 32.38 kB / 0.7617 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.6754, allocations: 438.7 kB / 0.7622 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6754, allocations: 0 / 0.7622 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.6754, allocations: 16.38 kB / 0.7622 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.6755, allocations: 6.781 kB / 0.7622 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.676, allocations: 327.3 kB / 0.7625 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.678, allocations: 1.491 MB / 0.7639 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.6782, allocations: 135.2 kB / 0.7641 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.6784, allocations: 91.23 kB / 0.7642 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003393/0.6787, allocations: 125.6 kB / 0.7643 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.6788, allocations: 41.34 kB / 0.7643 GB, free: 9.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.6788, allocations: 11.86 kB / 0.7643 GB, free: 9.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006301/0.6794, allocations: 286.5 kB / 0.7646 GB, free: 9.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.6795, allocations: 57.69 kB / 0.7647 GB, free: 9.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.6799, allocations: 436.4 kB / 0.7651 GB, free: 9.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.6799, allocations: 32.14 kB / 0.7651 GB, free: 9.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.6801, allocations: 227.3 kB / 0.7653 GB, free: 8.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.6802, allocations: 54.08 kB / 0.7654 GB, free: 8.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.6802, allocations: 29.67 kB / 0.7654 GB, free: 8.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6804, allocations: 348.1 kB / 0.7657 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.6806, allocations: 88.78 kB / 0.7658 GB, free: 8.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.6808, allocations: 173.1 kB / 0.766 GB, free: 8.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.6812, allocations: 259.1 kB / 0.7662 GB, free: 8.336 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6812, allocations: 0 / 0.7662 GB, free: 8.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005256/0.6817, allocations: 333.7 kB / 0.7666 GB, free: 8.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6818, allocations: 9.703 kB / 0.7666 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.6818, allocations: 6.469 kB / 0.7666 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6818, allocations: 5.812 kB / 0.7666 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.682, allocations: 62.16 kB / 0.7666 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.682, allocations: 6.812 kB / 0.7666 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.6823, allocations: 49.17 kB / 0.7667 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.6824, allocations: 12.22 kB / 0.7667 GB, free: 8.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.6825, allocations: 171.8 kB / 0.7669 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.6826, allocations: 41.97 kB / 0.7669 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.6831, allocations: 244.9 kB / 0.7671 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.6831, allocations: 0 / 0.7671 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6831, allocations: 9.656 kB / 0.7671 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6831, allocations: 0 / 0.7671 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000917/0.684, allocations: 0.73 MB / 0.7679 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.684, allocations: 2.844 kB / 0.7679 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.6842, allocations: 36.91 kB / 0.7679 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.6842, allocations: 2.562 kB / 0.7679 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.6842, allocations: 6.719 kB / 0.7679 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6842, allocations: 7.156 kB / 0.7679 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6842, allocations: 2.844 kB / 0.7679 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.6849, allocations: 455.1 kB / 0.7683 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.685, allocations: 148 kB / 0.7685 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.6851, allocations: 10.92 kB / 0.7685 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.6854, allocations: 22.86 kB / 0.7685 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.6855, allocations: 16.14 kB / 0.7685 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.6855, allocations: 15.61 kB / 0.7686 GB, free: 7.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002729/0.6858, allocations: 311.5 kB / 0.7688 GB, free: 6.922 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6858, allocations: 7.062 kB / 0.7689 GB, free: 6.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004238/0.6862, allocations: 118.8 kB / 0.769 GB, free: 6.902 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 (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.0003788/0.6866, allocations: 150.4 kB / 0.7691 GB, free: 6.801 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.6871, allocations: 214.1 kB / 0.7693 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6871, allocations: 0.5 kB / 0.7693 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.6873, allocations: 97.95 kB / 0.7694 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.6885, allocations: 234.1 kB / 0.7696 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.6896, allocations: 0.8949 MB / 0.7705 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.6901, allocations: 0.8129 MB / 0.7713 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003017/0.6904, allocations: 89.72 kB / 0.7714 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.6905, allocations: 29.69 kB / 0.7714 GB, free: 5.234 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.6905, allocations: 0 / 0.7714 GB, free: 5.234 MB / 0.545 GB Notification: Performance of Templates: time 0.01194/0.7025, allocations: 7.876 MB / 0.7791 GB, free: 1.383 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: