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.001442/0.001442, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.001587/0.001587, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.309/1.309, 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.00213/0.00213, allocations: 294.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9212/0.9212, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3722, allocations: 86.97 MB / 0.7671 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1611/0.5333, allocations: 167.4 MB / 0.9305 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.5358, allocations: 1.558 MB / 0.932 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.5362, allocations: 7.938 kB / 0.932 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.5366, allocations: 150.8 kB / 0.9322 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.5382, allocations: 0.7 MB / 0.9329 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.5396, allocations: 0.5972 MB / 0.9334 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008068/0.5404, allocations: 0.7051 MB / 0.9341 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.5408, allocations: 229.1 kB / 0.9343 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000599/0.5414, allocations: 346.7 kB / 0.9347 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.5418, allocations: 215.1 kB / 0.9349 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.5418, allocations: 24 kB / 0.9349 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.5431, allocations: 0.8689 MB / 0.9357 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.5432, allocations: 107.7 kB / 0.9359 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.5434, allocations: 167.2 kB / 0.936 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.5444, allocations: 0.7234 MB / 0.9367 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5444, allocations: 0 / 0.9367 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5444, allocations: 0 / 0.9367 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.5444, allocations: 0 / 0.9367 GB, free: 5.723 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.0008909/0.5453, allocations: 0.6504 MB / 0.9374 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5454, allocations: 12.03 kB / 0.9374 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.5466, allocations: 155.4 kB / 0.9375 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.547, allocations: 317.7 kB / 0.9378 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.5471, allocations: 16.44 kB / 0.9378 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.5471, allocations: 24 kB / 0.9379 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.5476, allocations: 283.3 kB / 0.9381 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.5476, allocations: 0 / 0.9381 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.5477, allocations: 8 kB / 0.9381 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5477, allocations: 8 kB / 0.9381 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.5481, allocations: 195.8 kB / 0.9383 GB, free: 3.969 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.001298/0.5494, allocations: 1.213 MB / 0.9395 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.5497, allocations: 134.5 kB / 0.9396 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.5498, allocations: 92.8 kB / 0.9397 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005502/0.5504, allocations: 303.2 kB / 0.94 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.5504, allocations: 38.5 kB / 0.9401 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.5504, allocations: 0 / 0.9401 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.0007446/0.5512, allocations: 281.3 kB / 0.9403 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.5512, allocations: 51.41 kB / 0.9404 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.5515, allocations: 316.5 kB / 0.9407 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.5516, allocations: 33.64 kB / 0.9407 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5517, allocations: 184.1 kB / 0.9409 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.5517, allocations: 51.3 kB / 0.9409 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.5518, allocations: 45.61 kB / 0.941 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5519, allocations: 338.8 kB / 0.9413 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.5521, allocations: 71.94 kB / 0.9414 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.5523, allocations: 122.2 kB / 0.9415 GB, free: 496 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.5527, allocations: 193 kB / 0.9417 GB, free: 284 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5527, allocations: 0 / 0.9417 GB, free: 284 kB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004465/0.5531, allocations: 237.3 kB / 0.9419 GB, free: 40 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5532, allocations: 8 kB / 0.9419 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.5532, allocations: 0 / 0.9419 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5532, allocations: 4 kB / 0.9419 GB, free: 28 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.5534, allocations: 44.02 kB / 0.9419 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.5534, allocations: 8.031 kB / 0.942 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.5536, allocations: 31.62 kB / 0.942 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.5536, allocations: 12 kB / 0.942 GB, free: 15.93 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.0001317/0.5538, allocations: 148.2 kB / 0.9421 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.5538, allocations: 35.61 kB / 0.9422 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.5543, allocations: 219.7 kB / 0.9424 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5543, allocations: 7.984 kB / 0.9424 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5543, allocations: 0 / 0.9424 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5544, allocations: 116.7 kB / 0.9425 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.5545, allocations: 8 kB / 0.9425 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.5547, allocations: 11.92 kB / 0.9425 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.5547, allocations: 11.98 kB / 0.9425 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004973/0.5552, allocations: 268.8 kB / 0.9428 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006251/0.5558, allocations: 466.2 kB / 0.9432 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001581/0.556, allocations: 71.97 kB / 0.9433 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001957/0.5562, allocations: 223.1 kB / 0.9435 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of Backend: time 3.9e-07/0.5562, allocations: 0 / 0.9435 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.5573, allocations: 394 kB / 0.9439 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001373/0.5587, allocations: 1.115 MB / 0.945 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of Templates: time 0.01293/0.5716, allocations: 7.915 MB / 0.9527 GB, free: 4.969 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)