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.1858/0.1879, 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.6243/0.8123, allocations: 167.4 MB / 0.8341 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.8155, allocations: 1.504 MB / 0.8355 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.8159, allocations: 11.69 kB / 0.8355 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008647/0.8168, allocations: 229.8 kB / 0.8358 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.8184, allocations: 0.5883 MB / 0.8363 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.8202, allocations: 0.6853 MB / 0.837 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.8216, allocations: 1.047 MB / 0.838 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.822, allocations: 316.1 kB / 0.8383 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.8232, allocations: 0.5222 MB / 0.8388 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.8236, allocations: 326.8 kB / 0.8392 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.8237, allocations: 40.28 kB / 0.8392 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.825, allocations: 0.6448 MB / 0.8398 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.8252, allocations: 182.8 kB / 0.84 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.8255, allocations: 257.9 kB / 0.8402 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.8267, allocations: 0.9019 MB / 0.8411 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.8267, allocations: 0 / 0.8411 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8267, allocations: 0 / 0.8411 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.8267, allocations: 0 / 0.8411 GB, free: 6.125 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.001377/0.8281, allocations: 0.7753 MB / 0.8419 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.8281, allocations: 10.31 kB / 0.8419 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.8293, allocations: 143.5 kB / 0.842 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.8299, allocations: 365.4 kB / 0.8424 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.83, allocations: 25.66 kB / 0.8424 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.83, allocations: 38.53 kB / 0.8424 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.8308, allocations: 424.2 kB / 0.8428 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.8308, allocations: 4 kB / 0.8428 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.8308, allocations: 17.16 kB / 0.8429 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.8309, allocations: 10.09 kB / 0.8429 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.8315, allocations: 308.2 kB / 0.8432 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.8337, allocations: 1.481 MB / 0.8446 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.834, allocations: 141.4 kB / 0.8447 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.8342, allocations: 82.55 kB / 0.8448 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.8345, allocations: 113.8 kB / 0.8449 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.8346, allocations: 41.3 kB / 0.845 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.8346, allocations: 0 / 0.845 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006539/0.8352, allocations: 267.1 kB / 0.8452 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.8353, allocations: 57.22 kB / 0.8453 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.8358, allocations: 440.9 kB / 0.8457 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.8358, allocations: 36.22 kB / 0.8457 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.836, allocations: 226.3 kB / 0.846 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.836, allocations: 52.17 kB / 0.846 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.8361, allocations: 61.7 kB / 0.8461 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8363, allocations: 348.9 kB / 0.8464 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.8365, allocations: 89.17 kB / 0.8465 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.8367, allocations: 160.6 kB / 0.8466 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.8371, allocations: 256.5 kB / 0.8469 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8371, allocations: 0 / 0.8469 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000565/0.8377, allocations: 320.7 kB / 0.8472 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8377, allocations: 5.875 kB / 0.8472 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.8378, allocations: 6.109 kB / 0.8472 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.8378, allocations: 4.719 kB / 0.8472 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.838, allocations: 57.2 kB / 0.8473 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.838, allocations: 6.641 kB / 0.8473 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.8383, allocations: 43.28 kB / 0.8473 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.8384, allocations: 18.62 kB / 0.8473 GB, free: 1.305 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.0001709/0.8385, allocations: 171.3 kB / 0.8475 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.8386, allocations: 42.22 kB / 0.8475 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.8391, allocations: 223.3 kB / 0.8477 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.8391, allocations: 10.33 kB / 0.8477 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8391, allocations: 0 / 0.8477 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.8391, allocations: 4 kB / 0.8478 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000997/0.8401, allocations: 0.7194 MB / 0.8485 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8402, allocations: 2.406 kB / 0.8485 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.8403, allocations: 34.11 kB / 0.8485 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.8403, allocations: 1.906 kB / 0.8485 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.8404, allocations: 2.75 kB / 0.8485 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.8404, allocations: 2.812 kB / 0.8485 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8404, allocations: 6.125 kB / 0.8485 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.8411, allocations: 449.8 kB / 0.8489 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.8414, allocations: 145.6 kB / 0.8491 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.8414, allocations: 6.562 kB / 0.8491 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.8418, allocations: 19.64 kB / 0.8491 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.8418, allocations: 11.48 kB / 0.8491 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.8419, allocations: 21.67 kB / 0.8491 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003626/0.8423, allocations: 306.8 kB / 0.8494 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8423, allocations: 2.938 kB / 0.8494 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005169/0.8428, allocations: 114.6 kB / 0.8495 GB, free: 15.67 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.0004942/0.8433, allocations: 161.5 kB / 0.8497 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005321/0.8439, allocations: 203.1 kB / 0.8499 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8439, allocations: 0 / 0.8499 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.8441, allocations: 91.81 kB / 0.85 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.8453, allocations: 239.2 kB / 0.8502 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.8465, allocations: 0.7227 MB / 0.8509 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.8469, allocations: 0.8157 MB / 0.8517 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002761/0.8472, allocations: 85.2 kB / 0.8518 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.8473, allocations: 31.88 kB / 0.8518 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.8473, allocations: 0 / 0.8518 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.01476/0.862, allocations: 8.344 MB / 0.86 GB, free: 7.754 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)