Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001335/0.001335, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001515/0.001515, allocations: 209.6 kB / 23.75 MB, free: 4.539 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.972/0.972, allocations: 149.9 MB / 463.8 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: IBPSA 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.002128/0.002128, allocations: 67.03 kB / 0.6423 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.204, allocations: 89.17 MB / 0.7294 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.707/0.9109, allocations: 147.6 MB / 0.8735 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003503/0.9144, allocations: 1.485 MB / 0.875 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005409/0.915, allocations: 19.81 kB / 0.875 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.9157, allocations: 154.9 kB / 0.8752 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.918, allocations: 0.6922 MB / 0.8758 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.9199, allocations: 0.6267 MB / 0.8764 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.921, allocations: 0.7051 MB / 0.8771 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.9213, allocations: 173.3 kB / 0.8773 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.9225, allocations: 0.5099 MB / 0.8778 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.9228, allocations: 211.1 kB / 0.878 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.9228, allocations: 24 kB / 0.878 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.9243, allocations: 0.7128 MB / 0.8787 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.9244, allocations: 107.6 kB / 0.8788 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.9246, allocations: 143.4 kB / 0.879 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.9257, allocations: 0.6878 MB / 0.8796 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9257, allocations: 0 / 0.8796 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9257, allocations: 0 / 0.8796 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.9257, allocations: 0 / 0.8796 GB, free: 11.05 MB / 0.6544 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.001065/0.9268, allocations: 0.5939 MB / 0.8802 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9268, allocations: 8.031 kB / 0.8802 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.9279, allocations: 163.6 kB / 0.8804 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.9285, allocations: 252.1 kB / 0.8806 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.9286, allocations: 20.38 kB / 0.8806 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.9286, allocations: 24 kB / 0.8807 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.9291, allocations: 275.5 kB / 0.8809 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.9292, allocations: 4 kB / 0.8809 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.9292, allocations: 8 kB / 0.8809 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.9292, allocations: 8 kB / 0.8809 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.9296, allocations: 191.8 kB / 0.8811 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.9311, allocations: 0.931 MB / 0.882 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.9314, allocations: 130.5 kB / 0.8822 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.9316, allocations: 86.2 kB / 0.8822 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/0.932, allocations: 71.92 kB / 0.8823 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.9321, allocations: 42.42 kB / 0.8823 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.9321, allocations: 0 / 0.8823 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007957/0.9329, allocations: 273.6 kB / 0.8826 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.9329, allocations: 59.41 kB / 0.8827 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.9332, allocations: 245.9 kB / 0.8829 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.9332, allocations: 29.7 kB / 0.8829 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.9334, allocations: 188.2 kB / 0.8831 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.9335, allocations: 59.48 kB / 0.8832 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.9335, allocations: 41.7 kB / 0.8832 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002821/0.9338, allocations: 334.8 kB / 0.8835 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.934, allocations: 67.95 kB / 0.8836 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.9343, allocations: 203.4 kB / 0.8838 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.9347, allocations: 196.4 kB / 0.884 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9347, allocations: 0 / 0.884 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004764/0.9351, allocations: 233.3 kB / 0.8842 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.9352, allocations: 4.094 kB / 0.8842 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.9352, allocations: 8 kB / 0.8842 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9352, allocations: 0 / 0.8842 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.9354, allocations: 43.92 kB / 0.8842 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.9354, allocations: 4 kB / 0.8842 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.9356, allocations: 23.56 kB / 0.8843 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.9356, allocations: 12 kB / 0.8843 GB, free: 6.035 MB / 0.6544 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.0001686/0.9358, allocations: 153.7 kB / 0.8844 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.9359, allocations: 27.81 kB / 0.8845 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.9363, allocations: 218.4 kB / 0.8847 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.9363, allocations: 0 / 0.8847 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9363, allocations: 4 kB / 0.8847 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9363, allocations: 0 / 0.8847 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.9374, allocations: 0.5973 MB / 0.8853 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.9374, allocations: 0 / 0.8853 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.9376, allocations: 39.97 kB / 0.8853 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9376, allocations: 0 / 0.8853 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.9376, allocations: 7.938 kB / 0.8853 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.9376, allocations: 4 kB / 0.8853 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.9376, allocations: 3.938 kB / 0.8853 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.9383, allocations: 429.3 kB / 0.8857 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.9384, allocations: 43.81 kB / 0.8858 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.9385, allocations: 7.875 kB / 0.8858 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.9386, allocations: 15.98 kB / 0.8858 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.9387, allocations: 8.125 kB / 0.8858 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.9387, allocations: 12 kB / 0.8858 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001736/0.9389, allocations: 173.2 kB / 0.886 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.9389, allocations: 4 kB / 0.886 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004244/0.9393, allocations: 83.83 kB / 0.886 GB, free: 4.125 MB / 0.6544 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.0003003/0.9396, allocations: 167 kB / 0.8862 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.94, allocations: 163.8 kB / 0.8864 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.94, allocations: 0 / 0.8864 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.9402, allocations: 80.52 kB / 0.8864 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007276/0.9409, allocations: 124.1 kB / 0.8866 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.9421, allocations: 0.6347 MB / 0.8872 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.9423, allocations: 170.8 kB / 0.8873 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.9423, allocations: 27.44 kB / 0.8874 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.9423, allocations: 0 / 0.8874 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of Templates: time 0.007837/0.9502, allocations: 4.361 MB / 0.8916 GB, free: 14.39 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.956418169196695] Failed to read output from testmodel.py, exit status != 0: 0.9592684619128704 0.973964025 0.045005546 Calling exit ...