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.001577/0.001577, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001443/0.001443, allocations: 218.3 kB / 23 MB, free: 4.914 MB / 14.72 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.002605/0.002605, allocations: 303.3 kB / 313.5 MB, free: 2.629 MB / 238.1 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 1.218/1.218, allocations: 180.6 MB / 0.5377 GB, free: 14.55 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002974/0.002974, allocations: 107.1 kB / 0.7407 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1622, allocations: 95.39 MB / 0.8339 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1976/0.3598, allocations: 147.6 MB / 0.978 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003132/0.363, allocations: 1.481 MB / 0.9795 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.3635, allocations: 15.81 kB / 0.9795 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.3641, allocations: 154.9 kB / 0.9796 GB, free: 2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.3664, allocations: 0.704 MB / 0.9803 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.3684, allocations: 0.6254 MB / 0.9809 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4765/0.8449, allocations: 0.7018 MB / 0.9816 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.8455, allocations: 182.7 kB / 0.9818 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008391/0.8463, allocations: 348.9 kB / 0.9821 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.8467, allocations: 223 kB / 0.9823 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.8467, allocations: 22.94 kB / 0.9824 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.8483, allocations: 0.7176 MB / 0.9831 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.8484, allocations: 116 kB / 0.9832 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.8486, allocations: 135.1 kB / 0.9833 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.8497, allocations: 0.6931 MB / 0.984 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8497, allocations: 0 / 0.984 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8497, allocations: 3.188 kB / 0.984 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.8497, allocations: 3.438 kB / 0.984 GB, free: 4.422 MB / 0.7169 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.001054/0.8508, allocations: 0.5834 MB / 0.9846 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.8508, allocations: 11.16 kB / 0.9846 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.8519, allocations: 155.8 kB / 0.9847 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.8524, allocations: 258.2 kB / 0.985 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.8524, allocations: 18.42 kB / 0.985 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.8525, allocations: 22.59 kB / 0.985 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.853, allocations: 278.1 kB / 0.9853 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.853, allocations: 1.531 kB / 0.9853 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.853, allocations: 10.19 kB / 0.9853 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.853, allocations: 5.156 kB / 0.9853 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.8534, allocations: 196.2 kB / 0.9855 GB, free: 19.77 MB / 0.7325 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.001272/0.8547, allocations: 0.9266 MB / 0.9864 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.8549, allocations: 128.1 kB / 0.9865 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.8551, allocations: 85.03 kB / 0.9866 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/0.8556, allocations: 77.47 kB / 0.9867 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.8556, allocations: 37.66 kB / 0.9867 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.8556, allocations: 0 / 0.9867 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007761/0.8564, allocations: 285 kB / 0.987 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.8564, allocations: 53.97 kB / 0.987 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.8567, allocations: 243.7 kB / 0.9872 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.8567, allocations: 30.3 kB / 0.9873 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.8568, allocations: 187.5 kB / 0.9875 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.8569, allocations: 59.81 kB / 0.9875 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.8569, allocations: 44.39 kB / 0.9876 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.8571, allocations: 334.8 kB / 0.9879 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.8573, allocations: 67.69 kB / 0.9879 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.8575, allocations: 199.6 kB / 0.9881 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.8578, allocations: 188.4 kB / 0.9883 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8578, allocations: 0.9375 kB / 0.9883 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004432/0.8583, allocations: 242.5 kB / 0.9885 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.8583, allocations: 8.344 kB / 0.9885 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8583, allocations: 0 / 0.9885 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8583, allocations: 3.719 kB / 0.9886 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.8585, allocations: 40.69 kB / 0.9886 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.8585, allocations: 4.406 kB / 0.9886 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.8587, allocations: 24.72 kB / 0.9886 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.8587, allocations: 13.36 kB / 0.9886 GB, free: 18.15 MB / 0.7325 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.0001467/0.8589, allocations: 151.4 kB / 0.9888 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.8589, allocations: 31.09 kB / 0.9888 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/0.8593, allocations: 209.5 kB / 0.989 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.8593, allocations: 0 / 0.989 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8594, allocations: 0.8125 kB / 0.989 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.8594, allocations: 4.359 kB / 0.989 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.8603, allocations: 0.605 MB / 0.9896 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.8603, allocations: 4.641 kB / 0.9896 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.8605, allocations: 31.69 kB / 0.9896 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.8605, allocations: 4.984 kB / 0.9896 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.8605, allocations: 7.422 kB / 0.9896 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.8605, allocations: 11.41 kB / 0.9897 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8605, allocations: 3.094 kB / 0.9897 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.8611, allocations: 433.9 kB / 0.9901 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.8612, allocations: 37.58 kB / 0.9901 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.8612, allocations: 7.609 kB / 0.9901 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.8614, allocations: 13.33 kB / 0.9901 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.8614, allocations: 21.31 kB / 0.9902 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.8614, allocations: 9.047 kB / 0.9902 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001505/0.8616, allocations: 177 kB / 0.9903 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8616, allocations: 0.5938 kB / 0.9903 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000415/0.862, allocations: 84.19 kB / 0.9904 GB, free: 17.37 MB / 0.7325 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.0002751/0.8623, allocations: 151.1 kB / 0.9906 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.8626, allocations: 167.7 kB / 0.9907 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8626, allocations: 1.031 kB / 0.9907 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.8628, allocations: 85.88 kB / 0.9908 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.8635, allocations: 115.4 kB / 0.9909 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.8644, allocations: 0.6252 MB / 0.9915 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.8645, allocations: 172.3 kB / 0.9917 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.8646, allocations: 26.33 kB / 0.9917 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.8646, allocations: 0.5938 kB / 0.9917 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.008244/0.8729, allocations: 4.367 MB / 0.996 GB, free: 16.68 MB / 0.7325 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.905873292125762] Failed to read output from testmodel.py, exit status != 0: 0.8807885758578777 0.892583227 0.040352861000000004 Calling exit ...