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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006808/0.0006808, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001741, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006801/0.0006801, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009273/0.001607, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9784/0.9784, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08422/1.063, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001396/0.001396, allocations: 223 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002858, allocations: 482.9 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7016/0.7016, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08284/0.7845, allocations: 42.4 MB / 426.7 MB, free: 5.84 MB / 410.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.946e-05, allocations: 2.312 kB / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3228/0.3228, allocations: 146.4 MB / 0.561 GB, free: 14 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3248, allocations: 1.311 MB / 0.5623 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.325, allocations: 15.88 kB / 0.5623 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.3253, allocations: 87.22 kB / 0.5624 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0007217/0.326, allocations: 393.8 kB / 0.5627 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009719/0.327, allocations: 444.2 kB / 0.5632 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.3276, allocations: 0.701 MB / 0.5638 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.3279, allocations: 189 kB / 0.564 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005076/0.3284, allocations: 382 kB / 0.5644 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.3286, allocations: 195.4 kB / 0.5646 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.3287, allocations: 24 kB / 0.5646 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.3292, allocations: 311.1 kB / 0.5649 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.3293, allocations: 103.8 kB / 0.565 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.3293, allocations: 95.81 kB / 0.5651 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.3298, allocations: 386.7 kB / 0.5655 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.3298, allocations: 0 / 0.5655 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3298, allocations: 0 / 0.5655 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.3298, allocations: 0 / 0.5655 GB, free: 9.449 MB / 0.5417 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.0006418/0.3304, allocations: 0.5989 MB / 0.566 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.3305, allocations: 8.031 kB / 0.566 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/0.3311, allocations: 293.3 kB / 0.5663 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3314, allocations: 252.6 kB / 0.5666 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3315, allocations: 16.88 kB / 0.5666 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.3315, allocations: 24.56 kB / 0.5666 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.3318, allocations: 219.8 kB / 0.5668 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3318, allocations: 1.125 kB / 0.5668 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3318, allocations: 4 kB / 0.5668 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.3318, allocations: 8 kB / 0.5668 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.3319, allocations: 81.16 kB / 0.5669 GB, free: 7.875 MB / 0.5417 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.0007738/0.3327, allocations: 0.7781 MB / 0.5677 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.3328, allocations: 117.9 kB / 0.5678 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.3328, allocations: 35.67 kB / 0.5678 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.333, allocations: 43.95 kB / 0.5679 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.333, allocations: 30.56 kB / 0.5679 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.333, allocations: 0 / 0.5679 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0002978/0.3333, allocations: 131.2 kB / 0.568 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.3334, allocations: 59.34 kB / 0.5681 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3335, allocations: 229 kB / 0.5683 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3335, allocations: 29.7 kB / 0.5683 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.3336, allocations: 172.6 kB / 0.5685 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.3336, allocations: 51.55 kB / 0.5685 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3337, allocations: 41.69 kB / 0.5686 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.3338, allocations: 338.8 kB / 0.5689 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.585e-05/0.3338, allocations: 23.44 kB / 0.5689 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.3339, allocations: 140.1 kB / 0.569 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.334, allocations: 108.3 kB / 0.5691 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.334, allocations: 0 / 0.5691 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001489/0.3342, allocations: 136 kB / 0.5693 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3342, allocations: 8 kB / 0.5693 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3342, allocations: 0 / 0.5693 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3342, allocations: 4 kB / 0.5693 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3343, allocations: 43.98 kB / 0.5693 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3343, allocations: 8.078 kB / 0.5693 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.3344, allocations: 15.89 kB / 0.5694 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.3344, allocations: 11.94 kB / 0.5694 GB, free: 5.199 MB / 0.5417 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 8.26e-05/0.3345, allocations: 124.6 kB / 0.5695 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.3345, allocations: 31.91 kB / 0.5695 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.3347, allocations: 104.8 kB / 0.5696 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3347, allocations: 0 / 0.5696 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3347, allocations: 5.297 kB / 0.5696 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3347, allocations: 0 / 0.5696 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.3353, allocations: 0.496 MB / 0.5701 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3353, allocations: 4 kB / 0.5701 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.3354, allocations: 33.55 kB / 0.5701 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.3354, allocations: 27.84 kB / 0.5702 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3354, allocations: 4 kB / 0.5702 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3354, allocations: 4 kB / 0.5702 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3354, allocations: 4.219 kB / 0.5702 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3354, allocations: 11.94 kB / 0.5702 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.3357, allocations: 324.5 kB / 0.5705 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3357, allocations: 8 kB / 0.5705 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.3357, allocations: 7.984 kB / 0.5705 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3358, allocations: 15.92 kB / 0.5705 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.3358, allocations: 7.938 kB / 0.5705 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.523e-05/0.3359, allocations: 78.77 kB / 0.5706 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3359, allocations: 4 kB / 0.5706 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002351/0.3361, allocations: 83.83 kB / 0.5707 GB, free: 3.723 MB / 0.5417 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.0002014/0.3363, allocations: 113.6 kB / 0.5708 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3364, allocations: 90.14 kB / 0.5709 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.3364, allocations: 4 kB / 0.5709 GB, free: 3.508 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.3365, allocations: 59.98 kB / 0.571 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.3371, allocations: 0.8246 MB / 0.5718 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.3398, allocations: 0.5393 MB / 0.5723 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.866e-05/0.3398, allocations: 94.97 kB / 0.5724 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000105/0.3399, allocations: 32.97 kB / 0.5724 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3401, allocations: 125.3 kB / 0.5725 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/0.3401, allocations: 4 kB / 0.5725 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of Templates: time 0.007527/0.3476, allocations: 5.275 MB / 0.5777 GB, free: 12.62 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8265775609761477]