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.2076/0.2111, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.559/0.7701, allocations: 165.1 MB / 0.7509 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003688/0.7739, allocations: 1.516 MB / 0.7524 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005409/0.7744, allocations: 11 kB / 0.7524 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.7755, allocations: 199.1 kB / 0.7526 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.7769, allocations: 0.569 MB / 0.7531 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.7788, allocations: 0.6288 MB / 0.7538 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.7802, allocations: 1.449 MB / 0.7552 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.7806, allocations: 274.7 kB / 0.7554 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009442/0.7815, allocations: 480.9 kB / 0.7559 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.7819, allocations: 339.8 kB / 0.7562 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.782, allocations: 24.19 kB / 0.7562 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.7832, allocations: 0.7096 MB / 0.7569 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.7834, allocations: 166.5 kB / 0.7571 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.7836, allocations: 242.4 kB / 0.7573 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.7847, allocations: 0.8965 MB / 0.7582 GB, free: 11.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7847, allocations: 2.438 kB / 0.7582 GB, free: 11.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.81e-07/0.7847, allocations: 0 / 0.7582 GB, free: 11.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.7847, allocations: 0 / 0.7582 GB, free: 11.72 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.001411/0.7861, allocations: 0.7842 MB / 0.759 GB, free: 11.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.7862, allocations: 10.56 kB / 0.759 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.7874, allocations: 144 kB / 0.7591 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.7878, allocations: 354.6 kB / 0.7595 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.7879, allocations: 28.7 kB / 0.7595 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.7879, allocations: 33.19 kB / 0.7595 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.7886, allocations: 428.8 kB / 0.7599 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7886, allocations: 0 / 0.7599 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.7887, allocations: 18.84 kB / 0.7599 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.7887, allocations: 10.12 kB / 0.7599 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.7893, allocations: 306.5 kB / 0.7602 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.7913, allocations: 1.489 MB / 0.7617 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.7916, allocations: 122.2 kB / 0.7618 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.7918, allocations: 89.23 kB / 0.7619 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003406/0.7921, allocations: 115.5 kB / 0.762 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.7922, allocations: 40.36 kB / 0.762 GB, free: 9.289 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.7922, allocations: 0 / 0.762 GB, free: 9.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006821/0.7929, allocations: 272 kB / 0.7623 GB, free: 9.199 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.7929, allocations: 66.08 kB / 0.7624 GB, free: 9.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.7934, allocations: 438 kB / 0.7628 GB, free: 8.953 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.7934, allocations: 28.2 kB / 0.7628 GB, free: 8.922 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.7935, allocations: 234.1 kB / 0.763 GB, free: 8.773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.7936, allocations: 53.36 kB / 0.7631 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.7937, allocations: 54.61 kB / 0.7631 GB, free: 8.711 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7938, allocations: 348 kB / 0.7635 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.794, allocations: 85.28 kB / 0.7636 GB, free: 8.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.7942, allocations: 160.2 kB / 0.7637 GB, free: 8.262 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.7947, allocations: 256.7 kB / 0.7639 GB, free: 8.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.7947, allocations: 2.75 kB / 0.764 GB, free: 8.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005336/0.7952, allocations: 308.8 kB / 0.7642 GB, free: 8.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7952, allocations: 15.8 kB / 0.7643 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.7953, allocations: 2.844 kB / 0.7643 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7953, allocations: 13.03 kB / 0.7643 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.7955, allocations: 56.44 kB / 0.7643 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.7955, allocations: 8.25 kB / 0.7643 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.7958, allocations: 53.08 kB / 0.7644 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.7959, allocations: 13.62 kB / 0.7644 GB, free: 7.977 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.0001625/0.796, allocations: 170.8 kB / 0.7646 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.7961, allocations: 38.97 kB / 0.7646 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.7966, allocations: 224.9 kB / 0.7648 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.7966, allocations: 0.9375 kB / 0.7648 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7966, allocations: 3.938 kB / 0.7648 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7966, allocations: 0 / 0.7648 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000942/0.7975, allocations: 0.7233 MB / 0.7655 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.7976, allocations: 3.219 kB / 0.7655 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.7978, allocations: 34.16 kB / 0.7656 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.7978, allocations: 6.781 kB / 0.7656 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.7978, allocations: 11.56 kB / 0.7656 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7978, allocations: 0 / 0.7656 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7978, allocations: 2.344 kB / 0.7656 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.7986, allocations: 443.1 kB / 0.766 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.7988, allocations: 147.4 kB / 0.7661 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.7989, allocations: 6.766 kB / 0.7662 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.7992, allocations: 25.53 kB / 0.7662 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.7993, allocations: 18.67 kB / 0.7662 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.7994, allocations: 11.67 kB / 0.7662 GB, free: 6.855 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003783/0.7998, allocations: 314.3 kB / 0.7665 GB, free: 6.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.81e-07/0.7998, allocations: 0 / 0.7665 GB, free: 6.727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005972/0.8004, allocations: 117 kB / 0.7666 GB, free: 6.715 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.0005149/0.8009, allocations: 156.5 kB / 0.7668 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.8014, allocations: 206.4 kB / 0.767 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8014, allocations: 0 / 0.767 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.8016, allocations: 91.56 kB / 0.767 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.8028, allocations: 236 kB / 0.7673 GB, free: 6.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.8042, allocations: 0.838 MB / 0.7681 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.8046, allocations: 0.811 MB / 0.7689 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.8049, allocations: 82.3 kB / 0.769 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.805, allocations: 31.88 kB / 0.769 GB, free: 5.105 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.805, allocations: 0 / 0.769 GB, free: 5.105 MB / 0.545 GB Notification: Performance of Templates: time 0.01346/0.8185, allocations: 7.918 MB / 0.7767 GB, free: 1.23 MB / 0.545 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)