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.1545/0.1552, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5013/0.6565, allocations: 140.1 MB / 0.7302 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.6592, allocations: 1.536 MB / 0.7317 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.6595, allocations: 11.08 kB / 0.7317 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.6601, allocations: 172.6 kB / 0.7319 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.6612, allocations: 433.1 kB / 0.7323 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.6625, allocations: 461.2 kB / 0.7327 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008166/0.6633, allocations: 0.5822 MB / 0.7333 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.6637, allocations: 258.1 kB / 0.7336 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.6649, allocations: 0.491 MB / 0.734 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.6653, allocations: 216.6 kB / 0.7342 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.6653, allocations: 20.06 kB / 0.7343 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009707/0.6663, allocations: 306.5 kB / 0.7346 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.6665, allocations: 154 kB / 0.7347 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.6667, allocations: 119.1 kB / 0.7348 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007037/0.6674, allocations: 0.5386 MB / 0.7353 GB, free: 15.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.6674, allocations: 0 / 0.7353 GB, free: 15.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6674, allocations: 0 / 0.7353 GB, free: 15.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.6674, allocations: 0 / 0.7353 GB, free: 15.36 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.001164/0.6686, allocations: 0.6889 MB / 0.736 GB, free: 14.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.6687, allocations: 9.625 kB / 0.736 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.6698, allocations: 155 kB / 0.7362 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.6704, allocations: 346.5 kB / 0.7365 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.6704, allocations: 26.84 kB / 0.7365 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.6705, allocations: 32.75 kB / 0.7366 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.6712, allocations: 421.7 kB / 0.737 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.6712, allocations: 0 / 0.737 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.6713, allocations: 16.97 kB / 0.737 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.6713, allocations: 12.47 kB / 0.737 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.6719, allocations: 311.2 kB / 0.7373 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.6741, allocations: 1.502 MB / 0.7388 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.6743, allocations: 129.3 kB / 0.7389 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.6747, allocations: 130.6 kB / 0.739 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.6747, allocations: 36.22 kB / 0.739 GB, free: 13.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.6747, allocations: 1.25 kB / 0.739 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006414/0.6754, allocations: 286 kB / 0.7393 GB, free: 13.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.6754, allocations: 57.8 kB / 0.7394 GB, free: 13.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.6759, allocations: 434.8 kB / 0.7398 GB, free: 13.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.6759, allocations: 28.39 kB / 0.7398 GB, free: 13.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.6761, allocations: 240.1 kB / 0.74 GB, free: 12.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.6761, allocations: 49.23 kB / 0.7401 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.6762, allocations: 10.38 kB / 0.7401 GB, free: 12.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6763, allocations: 346.8 kB / 0.7404 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.6765, allocations: 89.77 kB / 0.7405 GB, free: 12.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.6767, allocations: 172.2 kB / 0.7407 GB, free: 12.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.677, allocations: 117.8 kB / 0.7408 GB, free: 12.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.677, allocations: 1 kB / 0.7408 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005609/0.6776, allocations: 330.6 kB / 0.7411 GB, free: 12.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6776, allocations: 3.156 kB / 0.7411 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6776, allocations: 2.938 kB / 0.7411 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.6776, allocations: 6.562 kB / 0.7411 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.6779, allocations: 62.12 kB / 0.7412 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.6779, allocations: 2.594 kB / 0.7412 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.6782, allocations: 57.19 kB / 0.7412 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.6782, allocations: 10.66 kB / 0.7412 GB, free: 12.31 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.0001743/0.6784, allocations: 178.5 kB / 0.7414 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.6785, allocations: 40.19 kB / 0.7415 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.6789, allocations: 237.9 kB / 0.7417 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6789, allocations: 7.453 kB / 0.7417 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.679, allocations: 0 / 0.7417 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.679, allocations: 0 / 0.7417 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009485/0.6799, allocations: 0.7272 MB / 0.7424 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6799, allocations: 9.078 kB / 0.7424 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.6801, allocations: 38.25 kB / 0.7424 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6801, allocations: 3.953 kB / 0.7424 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.6801, allocations: 5.844 kB / 0.7425 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6801, allocations: 2.375 kB / 0.7425 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6801, allocations: 3.188 kB / 0.7425 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.6808, allocations: 0.5163 MB / 0.743 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.681, allocations: 146.6 kB / 0.7431 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.6811, allocations: 13.98 kB / 0.7431 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.6814, allocations: 25.3 kB / 0.7431 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.6815, allocations: 15.02 kB / 0.7432 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.6816, allocations: 15.05 kB / 0.7432 GB, free: 11.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003347/0.6819, allocations: 306.5 kB / 0.7435 GB, free: 10.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6819, allocations: 4 kB / 0.7435 GB, free: 10.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004668/0.6824, allocations: 114.7 kB / 0.7436 GB, free: 10.94 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.0003667/0.6828, allocations: 149.9 kB / 0.7437 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.6832, allocations: 214.2 kB / 0.7439 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6832, allocations: 64 / 0.7439 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.6834, allocations: 96.06 kB / 0.744 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6845, allocations: 236.7 kB / 0.7442 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.6857, allocations: 0.8713 MB / 0.7451 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.6862, allocations: 0.8234 MB / 0.7459 GB, free: 9.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003236/0.6865, allocations: 81.3 kB / 0.746 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.6866, allocations: 31.06 kB / 0.746 GB, free: 9.289 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.6866, allocations: 0 / 0.746 GB, free: 9.289 MB / 0.545 GB Notification: Performance of Templates: time 0.0132/0.6998, allocations: 7.601 MB / 0.7534 GB, free: 5.562 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: