Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.411/2.411, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001348/0.001348, allocations: 178.9 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.245/2.245, allocations: 205.4 MB / 0.5772 GB, free: 21.16 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.0008476/0.0008473, allocations: 95.05 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004658, allocations: 16.81 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1924, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2213/0.4137, allocations: 152.2 MB / 1.048 GB, free: 9.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.4176, allocations: 1.529 MB / 1.05 GB, free: 7.898 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.418, allocations: 11.94 kB / 1.05 GB, free: 7.887 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.4186, allocations: 107.2 kB / 1.05 GB, free: 7.781 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.4205, allocations: 0.5014 MB / 1.05 GB, free: 7.277 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.4225, allocations: 459.2 kB / 1.051 GB, free: 6.832 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.4239, allocations: 0.8376 MB / 1.051 GB, free: 5.992 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004791/0.4244, allocations: 185.3 kB / 1.052 GB, free: 5.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008173/0.4252, allocations: 302.8 kB / 1.052 GB, free: 5.516 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.4256, allocations: 215.1 kB / 1.052 GB, free: 5.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.4257, allocations: 12 kB / 1.052 GB, free: 5.293 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.4274, allocations: 470.8 kB / 1.053 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.4276, allocations: 99.73 kB / 1.053 GB, free: 4.734 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.4277, allocations: 81.52 kB / 1.053 GB, free: 4.648 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008904/0.4286, allocations: 431 kB / 1.053 GB, free: 4.227 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4286, allocations: 4 kB / 1.053 GB, free: 4.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.175e-06/0.4287, allocations: 0 / 1.053 GB, free: 4.223 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4287, allocations: 0 / 1.053 GB, free: 4.223 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.001217/0.4299, allocations: 0.5999 MB / 1.054 GB, free: 3.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.43, allocations: 8.031 kB / 1.054 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.4316, allocations: 163.3 kB / 1.054 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.4322, allocations: 293.9 kB / 1.054 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.4322, allocations: 16.44 kB / 1.054 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.4323, allocations: 24 kB / 1.054 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.4331, allocations: 287.4 kB / 1.055 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4331, allocations: 0 / 1.055 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.4331, allocations: 4 kB / 1.055 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.4331, allocations: 8 kB / 1.055 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.4339, allocations: 207.8 kB / 1.055 GB, free: 2.52 MB / 0.698 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.002042/0.4359, allocations: 1.221 MB / 1.056 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.4364, allocations: 138.5 kB / 1.056 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.4367, allocations: 100.8 kB / 1.056 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009443/0.4377, allocations: 323.2 kB / 1.056 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4377, allocations: 34.56 kB / 1.056 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.156e-06/0.4377, allocations: 0 / 1.056 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001246/0.439, allocations: 294.8 kB / 1.057 GB, free: 248 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.439, allocations: 55.69 kB / 1.057 GB, free: 180 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5465/0.9855, allocations: 309.7 kB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.9856, allocations: 28.17 kB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.9858, allocations: 181.1 kB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.9859, allocations: 54.12 kB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.9859, allocations: 1.969 kB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.986, allocations: 342.6 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.9863, allocations: 68.31 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.9867, allocations: 127.7 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.987, allocations: 89.03 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.987, allocations: 0 / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008601/0.9879, allocations: 255.9 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.9879, allocations: 6.547 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.988, allocations: 0.5156 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.988, allocations: 2.906 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.9884, allocations: 48.72 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.9885, allocations: 6.969 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.9889, allocations: 40.33 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.9889, allocations: 11.12 kB / 1.058 GB, free: 159.1 MB / 0.698 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.000194/0.9891, allocations: 145.4 kB / 1.058 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.9892, allocations: 34.42 kB / 1.058 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007498/0.9899, allocations: 235.1 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.99, allocations: 3.375 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.99, allocations: 5 kB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.9901, allocations: 114.2 kB / 1.059 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.9902, allocations: 8.844 kB / 1.059 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.9905, allocations: 18.95 kB / 1.059 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.9906, allocations: 8.547 kB / 1.059 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007591/0.9913, allocations: 288 kB / 1.059 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000937/0.9923, allocations: 479.9 kB / 1.06 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002583/0.9926, allocations: 73.23 kB / 1.06 GB, free: 158.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002806/0.9929, allocations: 227.8 kB / 1.06 GB, free: 158.4 MB / 0.698 GB Notification: Performance of Backend: time 7.71e-07/0.9929, allocations: 0 / 1.06 GB, free: 158.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.9945, allocations: 378.6 kB / 1.06 GB, free: 158.3 MB / 0.698 GB Notification: Performance of SimCode: time 0.002098/0.9966, allocations: 1.213 MB / 1.061 GB, free: 157.5 MB / 0.698 GB Notification: Performance of Templates: time 0.02243/1.019, allocations: 7.353 MB / 1.069 GB, free: 156.5 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)