Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 179.6 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008367/0.0008367, allocations: 90.23 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 11.44 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2043, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6096/0.8139, allocations: 164.9 MB / 1.058 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.8169, allocations: 1.61 MB / 1.059 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.8172, allocations: 11.31 kB / 1.059 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004633/0.8177, allocations: 118.2 kB / 1.059 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.8194, allocations: 0.6635 MB / 1.06 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.821, allocations: 0.5552 MB / 1.061 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.8221, allocations: 0.9719 MB / 1.062 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.8225, allocations: 188.6 kB / 1.062 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.8231, allocations: 309.1 kB / 1.062 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.8234, allocations: 222.7 kB / 1.062 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.8234, allocations: 13.34 kB / 1.062 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.8251, allocations: 1.019 MB / 1.063 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.8253, allocations: 92.08 kB / 1.063 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.8255, allocations: 160.8 kB / 1.064 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000776/0.8263, allocations: 0.4888 MB / 1.064 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8263, allocations: 0.5156 kB / 1.064 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8263, allocations: 0 / 1.064 GB, free: 1.727 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.8263, allocations: 2.375 kB / 1.064 GB, free: 1.727 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001019/0.8273, allocations: 0.5993 MB / 1.065 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.8274, allocations: 12.66 kB / 1.065 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.8286, allocations: 158.4 kB / 1.065 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.829, allocations: 306.6 kB / 1.065 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.829, allocations: 17.38 kB / 1.065 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.8291, allocations: 22.66 kB / 1.065 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.8296, allocations: 284 kB / 1.065 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8297, allocations: 0.9062 kB / 1.065 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.8297, allocations: 8.406 kB / 1.065 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.8297, allocations: 6.125 kB / 1.065 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.8302, allocations: 208.5 kB / 1.066 GB, free: 16.91 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.8318, allocations: 1.219 MB / 1.067 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.8321, allocations: 146.3 kB / 1.067 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.8323, allocations: 102 kB / 1.067 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/0.833, allocations: 314.3 kB / 1.067 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.833, allocations: 35.45 kB / 1.067 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.833, allocations: 4 kB / 1.067 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0008619/0.8339, allocations: 301.3 kB / 1.068 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.8339, allocations: 53.64 kB / 1.068 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.8344, allocations: 312.9 kB / 1.068 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.8344, allocations: 30.36 kB / 1.068 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.8345, allocations: 181.9 kB / 1.068 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.8346, allocations: 54.36 kB / 1.068 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.8346, allocations: 20.97 kB / 1.068 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8348, allocations: 342.1 kB / 1.069 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.835, allocations: 70.92 kB / 1.069 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.8352, allocations: 131.2 kB / 1.069 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.8356, allocations: 200.2 kB / 1.069 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.8357, allocations: 4 kB / 1.069 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005477/0.8362, allocations: 252.8 kB / 1.069 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.8362, allocations: 5.688 kB / 1.069 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8363, allocations: 2.297 kB / 1.069 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.8363, allocations: 6.531 kB / 1.069 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.8365, allocations: 47.78 kB / 1.069 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.8365, allocations: 3.375 kB / 1.069 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.8368, allocations: 31.59 kB / 1.069 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.8369, allocations: 11.77 kB / 1.069 GB, free: 14.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001548/0.837, allocations: 156.2 kB / 1.069 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.8371, allocations: 29.53 kB / 1.07 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.8376, allocations: 232.6 kB / 1.07 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.8377, allocations: 2.438 kB / 1.07 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.8377, allocations: 4.516 kB / 1.07 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8377, allocations: 1.609 kB / 1.07 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.8388, allocations: 0.6977 MB / 1.07 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.8389, allocations: 1.875 kB / 1.07 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.8391, allocations: 35.22 kB / 1.07 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.8391, allocations: 7.625 kB / 1.07 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.8391, allocations: 5.234 kB / 1.07 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.8391, allocations: 10.75 kB / 1.07 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8391, allocations: 2.094 kB / 1.07 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.8398, allocations: 447.6 kB / 1.071 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.84, allocations: 127.2 kB / 1.071 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.84, allocations: 7.594 kB / 1.071 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.8402, allocations: 14.03 kB / 1.071 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.8403, allocations: 17.61 kB / 1.071 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.8403, allocations: 8.328 kB / 1.071 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000269/0.8406, allocations: 231.3 kB / 1.071 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8406, allocations: 0 / 1.071 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004642/0.8411, allocations: 79.12 kB / 1.071 GB, free: 13.85 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0004215/0.8415, allocations: 163.5 kB / 1.072 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.842, allocations: 179.7 kB / 1.072 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.842, allocations: 0.6875 kB / 1.072 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.8423, allocations: 95.67 kB / 1.072 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.8433, allocations: 169 kB / 1.072 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.8444, allocations: 0.7256 MB / 1.073 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.8448, allocations: 0.7739 MB / 1.073 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.8449, allocations: 30.41 kB / 1.073 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.8449, allocations: 0 / 1.073 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of Templates: time 0.008834/0.8538, allocations: 4.753 MB / 1.078 GB, free: 12.18 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)