Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001052/0.001052, allocations: 114 kB / 16.42 MB, free: 6.016 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.001087/0.001087, allocations: 183.7 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 298.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9413/0.9413, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 91.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3932, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1678/0.5611, allocations: 167.4 MB / 0.9305 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00266/0.5638, allocations: 1.553 MB / 0.932 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.5642, allocations: 11.94 kB / 0.932 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.5647, allocations: 146.8 kB / 0.9322 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.5665, allocations: 0.7352 MB / 0.9329 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.5681, allocations: 0.6066 MB / 0.9335 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008902/0.569, allocations: 0.7089 MB / 0.9342 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004458/0.5694, allocations: 233.1 kB / 0.9344 GB, free: 7.918 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000688/0.5701, allocations: 350.7 kB / 0.9347 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.5705, allocations: 215.1 kB / 0.9349 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.5706, allocations: 24 kB / 0.935 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.5721, allocations: 0.8728 MB / 0.9358 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.5722, allocations: 103.7 kB / 0.9359 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.5725, allocations: 167.1 kB / 0.9361 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.5737, allocations: 0.7234 MB / 0.9368 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5738, allocations: 4 kB / 0.9368 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5738, allocations: 0 / 0.9368 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.5738, allocations: 0 / 0.9368 GB, free: 5.473 MB / 0.7012 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.00104/0.5748, allocations: 0.6543 MB / 0.9374 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.5749, allocations: 8.031 kB / 0.9374 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.5761, allocations: 151.5 kB / 0.9376 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.5767, allocations: 321.7 kB / 0.9379 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5768, allocations: 16.44 kB / 0.9379 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.5768, allocations: 24 kB / 0.9379 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.5774, allocations: 287.3 kB / 0.9382 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5774, allocations: 0 / 0.9382 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.5774, allocations: 12 kB / 0.9382 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5774, allocations: 4 kB / 0.9382 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.5779, allocations: 187.8 kB / 0.9384 GB, free: 3.723 MB / 0.7012 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.001534/0.5794, allocations: 1.209 MB / 0.9396 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.5797, allocations: 138.5 kB / 0.9397 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.5799, allocations: 92.8 kB / 0.9398 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.5805, allocations: 311.2 kB / 0.9401 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.5805, allocations: 38.5 kB / 0.9401 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.5805, allocations: 0 / 0.9401 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.0007701/0.5813, allocations: 281.3 kB / 0.9404 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.5813, allocations: 51.41 kB / 0.9404 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.5817, allocations: 320.5 kB / 0.9407 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.5817, allocations: 29.7 kB / 0.9408 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5818, allocations: 184.1 kB / 0.9409 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.5819, allocations: 47.3 kB / 0.941 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.5819, allocations: 49.61 kB / 0.941 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5821, allocations: 334.8 kB / 0.9413 GB, free: 452 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.5822, allocations: 63.95 kB / 0.9414 GB, free: 388 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.5825, allocations: 134 kB / 0.9415 GB, free: 236 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.5828, allocations: 189 kB / 0.9417 GB, free: 28 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5828, allocations: 0 / 0.9417 GB, free: 28 kB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005003/0.5833, allocations: 235.2 kB / 0.9419 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5834, allocations: 11.94 kB / 0.942 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5834, allocations: 0 / 0.942 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5834, allocations: 4 kB / 0.942 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.5836, allocations: 39.97 kB / 0.942 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5836, allocations: 8.031 kB / 0.942 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.5838, allocations: 35.67 kB / 0.942 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.5839, allocations: 12 kB / 0.942 GB, free: 15.68 MB / 0.7169 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.0001417/0.584, allocations: 148.2 kB / 0.9422 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.5841, allocations: 31.62 kB / 0.9422 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.5846, allocations: 223.5 kB / 0.9424 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5846, allocations: 4 kB / 0.9424 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5846, allocations: 0 / 0.9424 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.5847, allocations: 120.7 kB / 0.9426 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.5848, allocations: 4 kB / 0.9426 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.585, allocations: 15.92 kB / 0.9426 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.585, allocations: 7.984 kB / 0.9426 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005213/0.5855, allocations: 280.7 kB / 0.9428 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006361/0.5862, allocations: 462.2 kB / 0.9433 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001655/0.5864, allocations: 67.98 kB / 0.9434 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002056/0.5866, allocations: 227 kB / 0.9436 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of Backend: time 5.21e-07/0.5866, allocations: 4 kB / 0.9436 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.5878, allocations: 381.5 kB / 0.9439 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001545/0.5893, allocations: 1.12 MB / 0.945 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of Templates: time 0.01386/0.6032, allocations: 7.918 MB / 0.9528 GB, free: 4.711 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)