Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008486/0.0008487, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008568/0.0008569, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004848, allocations: 14.97 kB / 0.6735 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.593/0.8204, allocations: 140.2 MB / 0.924 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.8232, allocations: 1.576 MB / 0.9255 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.8234, allocations: 11.62 kB / 0.9255 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.8241, allocations: 177.2 kB / 0.9257 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.8255, allocations: 0.517 MB / 0.9262 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.8268, allocations: 492.6 kB / 0.9267 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005764/0.8274, allocations: 430.1 kB / 0.9271 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.8278, allocations: 187.3 kB / 0.9273 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007466/0.8285, allocations: 340.1 kB / 0.9276 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.8287, allocations: 145.8 kB / 0.9277 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.8288, allocations: 15.59 kB / 0.9277 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009077/0.8297, allocations: 429.3 kB / 0.9282 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.8298, allocations: 86.91 kB / 0.9282 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.8302, allocations: 88.36 kB / 0.9283 GB, free: 21.58 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.8308, allocations: 395.3 kB / 0.9287 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.8308, allocations: 0 / 0.9287 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8308, allocations: 0 / 0.9287 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.8308, allocations: 0 / 0.9287 GB, free: 21.55 MB / 0.7325 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.0008669/0.8317, allocations: 0.5866 MB / 0.9293 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8318, allocations: 10.5 kB / 0.9293 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.833, allocations: 160.4 kB / 0.9294 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.8334, allocations: 296.3 kB / 0.9297 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.8335, allocations: 18.75 kB / 0.9297 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.8335, allocations: 24.95 kB / 0.9298 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.834, allocations: 276.1 kB / 0.93 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.834, allocations: 2.906 kB / 0.93 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.8341, allocations: 9.953 kB / 0.93 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.8341, allocations: 5.25 kB / 0.93 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.8345, allocations: 209.4 kB / 0.9302 GB, free: 20.75 MB / 0.7325 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.0013/0.8358, allocations: 1.22 MB / 0.9314 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.836, allocations: 136.5 kB / 0.9316 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003944/0.8364, allocations: 145.2 kB / 0.9317 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.8365, allocations: 31.17 kB / 0.9317 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.8365, allocations: 0 / 0.9317 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.000731/0.8372, allocations: 297 kB / 0.932 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.8373, allocations: 52.02 kB / 0.9321 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.8376, allocations: 319.5 kB / 0.9324 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.8377, allocations: 27.45 kB / 0.9324 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.8378, allocations: 189.8 kB / 0.9326 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.8378, allocations: 56.98 kB / 0.9326 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.8378, allocations: 0 / 0.9326 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.838, allocations: 344.5 kB / 0.933 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.8382, allocations: 67.22 kB / 0.933 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.8384, allocations: 128.2 kB / 0.9331 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.8385, allocations: 85.23 kB / 0.9332 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.8385, allocations: 4 kB / 0.9332 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00045/0.839, allocations: 248.3 kB / 0.9335 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.839, allocations: 7.125 kB / 0.9335 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.839, allocations: 0 / 0.9335 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.8391, allocations: 6.031 kB / 0.9335 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.8393, allocations: 45.12 kB / 0.9335 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8393, allocations: 4.188 kB / 0.9335 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.8395, allocations: 37.34 kB / 0.9336 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.8395, allocations: 10.58 kB / 0.9336 GB, free: 18.91 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.8397, allocations: 154.2 kB / 0.9337 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.8397, allocations: 30.09 kB / 0.9337 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.8402, allocations: 228 kB / 0.934 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.8402, allocations: 0 / 0.934 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8402, allocations: 4.516 kB / 0.934 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.8402, allocations: 1.906 kB / 0.934 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.8413, allocations: 0.6945 MB / 0.9346 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.8414, allocations: 4.062 kB / 0.9346 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.8415, allocations: 35.25 kB / 0.9347 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.8416, allocations: 3.25 kB / 0.9347 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.8416, allocations: 7.531 kB / 0.9347 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.8416, allocations: 6.625 kB / 0.9347 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.8416, allocations: 6.672 kB / 0.9347 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/0.8424, allocations: 0.5217 MB / 0.9352 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.8425, allocations: 120.6 kB / 0.9353 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.8426, allocations: 11.22 kB / 0.9353 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.8428, allocations: 29.02 kB / 0.9354 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.8428, allocations: 11.58 kB / 0.9354 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.8429, allocations: 10.64 kB / 0.9354 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002783/0.8431, allocations: 223.7 kB / 0.9356 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8431, allocations: 0 / 0.9356 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004486/0.8436, allocations: 73.89 kB / 0.9357 GB, free: 17.82 MB / 0.7325 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 (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.0005812/0.8442, allocations: 170 kB / 0.9358 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.8447, allocations: 180.4 kB / 0.936 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8447, allocations: 0.75 kB / 0.936 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.8449, allocations: 89.67 kB / 0.9361 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008753/0.8458, allocations: 158.7 kB / 0.9362 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.8471, allocations: 0.7167 MB / 0.9369 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.8477, allocations: 0.786 MB / 0.9377 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.848, allocations: 66.03 kB / 0.9378 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.8481, allocations: 24.28 kB / 0.9378 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8481, allocations: 0 / 0.9378 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of Templates: time 0.01154/0.8596, allocations: 5.266 MB / 0.9429 GB, free: 16.21 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: