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.0009904/0.0009904, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.00116/0.00116, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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 1.027/1.027, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001567/0.001567, allocations: 232.9 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7788/0.7788, allocations: 138.4 MB / 455.5 MB, free: 1.387 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.864e-06/1.864e-06, allocations: 0 / 0.5556 GB, free: 212 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.584e-05, allocations: 2.312 kB / 0.5556 GB, free: 208 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3741/0.3741, allocations: 143.8 MB / 0.6961 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3759, allocations: 1.275 MB / 0.6973 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.3761, allocations: 15.88 kB / 0.6973 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.3764, allocations: 87.27 kB / 0.6974 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007241/0.3771, allocations: 389.8 kB / 0.6978 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.3779, allocations: 462.7 kB / 0.6982 GB, free: 10 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.3784, allocations: 0.6971 MB / 0.6989 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.3786, allocations: 185.5 kB / 0.6991 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.379, allocations: 371 kB / 0.6994 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.3792, allocations: 199.4 kB / 0.6996 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.3793, allocations: 24 kB / 0.6996 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.3796, allocations: 307.1 kB / 0.6999 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.3797, allocations: 119.7 kB / 0.7 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.682e-05/0.3798, allocations: 115.7 kB / 0.7002 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.3802, allocations: 438.5 kB / 0.7006 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3802, allocations: 0 / 0.7006 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3803, allocations: 0 / 0.7006 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3803, allocations: 4 kB / 0.7006 GB, free: 7.578 MB / 0.5105 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.0005577/0.3808, allocations: 0.648 MB / 0.7012 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3808, allocations: 16.75 kB / 0.7012 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.3817, allocations: 204.2 kB / 0.7014 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.3819, allocations: 273.1 kB / 0.7017 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.382, allocations: 20.88 kB / 0.7017 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.382, allocations: 20.56 kB / 0.7017 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.3822, allocations: 227 kB / 0.7019 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.3822, allocations: 0 / 0.7019 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3823, allocations: 8 kB / 0.7019 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3823, allocations: 8 kB / 0.7019 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.746e-05/0.3824, allocations: 72.5 kB / 0.702 GB, free: 6.012 MB / 0.5105 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.0007407/0.3831, allocations: 1.094 MB / 0.7031 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.3832, allocations: 76.59 kB / 0.7032 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.962e-05/0.3833, allocations: 35.66 kB / 0.7032 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.3834, allocations: 44.52 kB / 0.7032 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.3835, allocations: 37.39 kB / 0.7033 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3835, allocations: 4 kB / 0.7033 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0003131/0.3838, allocations: 159.8 kB / 0.7034 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.3838, allocations: 55.41 kB / 0.7035 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3839, allocations: 284.2 kB / 0.7038 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3839, allocations: 29.7 kB / 0.7038 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.384, allocations: 238.9 kB / 0.704 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.3841, allocations: 55.52 kB / 0.7041 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.3841, allocations: 55.3 kB / 0.7041 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.3842, allocations: 0.504 MB / 0.7046 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.3842, allocations: 23.98 kB / 0.7046 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.3843, allocations: 167.1 kB / 0.7048 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3844, allocations: 114.8 kB / 0.7049 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3844, allocations: 3.938 kB / 0.7049 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001843/0.3846, allocations: 149.4 kB / 0.705 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3846, allocations: 4 kB / 0.705 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3846, allocations: 96 / 0.705 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3846, allocations: 8 kB / 0.7051 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3847, allocations: 43.92 kB / 0.7051 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.3847, allocations: 0 / 0.7051 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.3848, allocations: 23.88 kB / 0.7051 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.3848, allocations: 8 kB / 0.7051 GB, free: 2.617 MB / 0.5105 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 6.687e-05/0.3849, allocations: 168.5 kB / 0.7053 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.3849, allocations: 31.81 kB / 0.7053 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.3851, allocations: 128.4 kB / 0.7054 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3851, allocations: 0 / 0.7054 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3851, allocations: 4 kB / 0.7054 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3851, allocations: 4 kB / 0.7054 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.3856, allocations: 0.5087 MB / 0.7059 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3856, allocations: 0 / 0.7059 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.256e-05/0.3857, allocations: 31.92 kB / 0.706 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3857, allocations: 4 kB / 0.706 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3857, allocations: 8.219 kB / 0.706 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3857, allocations: 4.75 kB / 0.706 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3857, allocations: 4 kB / 0.706 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.3859, allocations: 346.4 kB / 0.7063 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3859, allocations: 35.78 kB / 0.7064 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.386, allocations: 11.98 kB / 0.7064 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.3861, allocations: 4 kB / 0.7064 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.3861, allocations: 19.86 kB / 0.7064 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3861, allocations: 8.5 kB / 0.7064 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.897e-05/0.3862, allocations: 201.1 kB / 0.7066 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3862, allocations: 0 / 0.7066 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003254/0.3865, allocations: 83.83 kB / 0.7067 GB, free: 0.9062 MB / 0.5105 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.0001763/0.3867, allocations: 131.1 kB / 0.7068 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.3868, allocations: 97.31 kB / 0.7069 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3868, allocations: 4.188 kB / 0.7069 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.3869, allocations: 51.12 kB / 0.7069 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.3874, allocations: 121.8 kB / 0.7071 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.3883, allocations: 0.5753 MB / 0.7076 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.244e-05/0.3884, allocations: 96.3 kB / 0.7077 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.3885, allocations: 37.33 kB / 0.7078 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.3888, allocations: 162.1 kB / 0.7079 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/0.3888, allocations: 0 / 0.7079 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.008443/0.3972, allocations: 5.051 MB / 0.7128 GB, free: 10.71 MB / 0.5261 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: 4.124992939643562]