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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 120.4 kB / 17.13 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 193.2 kB / 20.08 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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.002342/0.002342, allocations: 279.4 kB / 303.6 MB, free: 3.668 MB / 238.1 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 1.03/1.03, allocations: 180.9 MB / 0.5268 GB, free: 2.703 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 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=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 0.002758/0.002758, allocations: 103.8 kB / 0.7259 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.55, allocations: 94.16 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2046/0.7546, allocations: 167.9 MB / 0.9818 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.7575, allocations: 1.564 MB / 0.9834 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.7578, allocations: 11.94 kB / 0.9834 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.7583, allocations: 146.9 kB / 0.9835 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.7601, allocations: 0.739 MB / 0.9842 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.7617, allocations: 0.5992 MB / 0.9848 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008801/0.7626, allocations: 0.7012 MB / 0.9855 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.763, allocations: 204.8 kB / 0.9857 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.7636, allocations: 346.7 kB / 0.986 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.7639, allocations: 235.1 kB / 0.9863 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.764, allocations: 24 kB / 0.9863 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.7657, allocations: 0.9234 MB / 0.9872 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.7659, allocations: 111.6 kB / 0.9873 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.7661, allocations: 167.2 kB / 0.9875 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.7672, allocations: 0.7165 MB / 0.9882 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7673, allocations: 0 / 0.9882 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7673, allocations: 0 / 0.9882 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.7673, allocations: 0 / 0.9882 GB, free: 2.176 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.00109/0.7684, allocations: 0.6615 MB / 0.9888 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.7684, allocations: 12.03 kB / 0.9888 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.7695, allocations: 151.6 kB / 0.989 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.7701, allocations: 325.9 kB / 0.9893 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.7701, allocations: 16.44 kB / 0.9893 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.7702, allocations: 23.95 kB / 0.9893 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.7707, allocations: 287.3 kB / 0.9896 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7707, allocations: 0 / 0.9896 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.7707, allocations: 11.98 kB / 0.9896 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.7707, allocations: 8 kB / 0.9896 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.7712, allocations: 187.8 kB / 0.9898 GB, free: 416 kB / 0.7169 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.001522/0.7727, allocations: 1.214 MB / 0.991 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.773, allocations: 130.5 kB / 0.9911 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.7731, allocations: 84.81 kB / 0.9912 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.7737, allocations: 303.2 kB / 0.9915 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.7738, allocations: 46.44 kB / 0.9915 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.7738, allocations: 0 / 0.9915 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007922/0.7746, allocations: 284 kB / 0.9918 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.7746, allocations: 51.41 kB / 0.9918 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.775, allocations: 312.5 kB / 0.9921 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.775, allocations: 33.7 kB / 0.9922 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.7751, allocations: 188.3 kB / 0.9923 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.7752, allocations: 51.53 kB / 0.9924 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.7753, allocations: 45.66 kB / 0.9924 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.7755, allocations: 338.8 kB / 0.9927 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.7756, allocations: 63.95 kB / 0.9928 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.7758, allocations: 125 kB / 0.9929 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.7762, allocations: 188.9 kB / 0.9931 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.7762, allocations: 8 kB / 0.9931 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004809/0.7767, allocations: 240.5 kB / 0.9933 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.7767, allocations: 9.562 kB / 0.9934 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7767, allocations: 0 / 0.9934 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.7768, allocations: 4 kB / 0.9934 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.777, allocations: 43.91 kB / 0.9934 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.777, allocations: 0 / 0.9934 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.7772, allocations: 39.86 kB / 0.9934 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.7772, allocations: 8 kB / 0.9934 GB, free: 12.38 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.0001554/0.7774, allocations: 145.8 kB / 0.9936 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.7774, allocations: 35.75 kB / 0.9936 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.7779, allocations: 220.3 kB / 0.9938 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7779, allocations: 144 / 0.9938 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7779, allocations: 4 kB / 0.9938 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.7779, allocations: 7.984 kB / 0.9938 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.779, allocations: 0.6874 MB / 0.9945 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.779, allocations: 0 / 0.9945 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.7792, allocations: 35.92 kB / 0.9945 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.7792, allocations: 3.938 kB / 0.9945 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.7792, allocations: 4 kB / 0.9946 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.7792, allocations: 4 kB / 0.9946 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7792, allocations: 0 / 0.9946 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.7799, allocations: 441.3 kB / 0.995 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.78, allocations: 124.9 kB / 0.9951 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.7801, allocations: 11.92 kB / 0.9951 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.7802, allocations: 8 kB / 0.9951 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.7803, allocations: 19.92 kB / 0.9951 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.7803, allocations: 8 kB / 0.9951 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002279/0.7805, allocations: 227 kB / 0.9954 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7805, allocations: 8 kB / 0.9954 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003913/0.7809, allocations: 75.94 kB / 0.9954 GB, free: 10.19 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.0004521/0.7814, allocations: 164 kB / 0.9956 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.7818, allocations: 175.8 kB / 0.9958 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7818, allocations: 3.938 kB / 0.9958 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.782, allocations: 83.89 kB / 0.9958 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008611/0.7829, allocations: 163.7 kB / 0.996 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.784, allocations: 0.6299 MB / 0.9966 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.7844, allocations: 0.7756 MB / 0.9974 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.7844, allocations: 23.44 kB / 0.9974 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.7844, allocations: 4 kB / 0.9974 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of Templates: time 0.008052/0.7925, allocations: 4.874 MB / 1.002 GB, free: 3.273 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.557766338111833] Failed to read output from testmodel.py, exit status != 0: 0.8008862419519573 0.813193818 0.043209128 Calling exit ...