Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer.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.001777/0.001777, allocations: 107 kB / 18.68 MB, free: 3.168 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.009681/0.009681, allocations: 197.5 kB / 21.93 MB, free: 5.633 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.518/1.518, allocations: 225.6 MB / 250.6 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8013/0.8013, allocations: 94.59 MB / 400.4 MB, free: 15.81 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/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(ThermofluidStream.Examples.WaterHammer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|checkValve.inlet.m_flow|firstOrder.y|pulse.T_start|pulse.count|reservoir.M|reservoir.U_med|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer") translateModel(ThermofluidStream.Examples.WaterHammer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|checkValve.inlet.m_flow|firstOrder.y|pulse.T_start|pulse.count|reservoir.M|reservoir.U_med|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 86.83 kB / 0.5464 GB, free: 42.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.134, allocations: 71.85 MB / 0.6166 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.WaterHammer): time 0.04162/0.1757, allocations: 31.52 MB / 0.6473 GB, free: 8.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.19, allocations: 9.816 MB / 0.6569 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.1913, allocations: 39.75 kB / 0.657 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.1932, allocations: 0.5239 MB / 0.6575 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.1962, allocations: 0.8269 MB / 0.6583 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.1984, allocations: 0.7034 MB / 0.659 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002552/0.2009, allocations: 1.486 MB / 0.6604 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005008/0.2014, allocations: 181.8 kB / 0.6606 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.2029, allocations: 0.6381 MB / 0.6612 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.204, allocations: 0.5403 MB / 0.6617 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.2042, allocations: 76 kB / 0.6618 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.206, allocations: 0.5151 MB / 0.6623 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.2064, allocations: 207.1 kB / 0.6625 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008456/0.2072, allocations: 0.5207 MB / 0.663 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003208/0.2104, allocations: 1.401 MB / 0.6644 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2104, allocations: 0 / 0.6644 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2104, allocations: 7.938 kB / 0.6644 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.507e-05/0.2105, allocations: 0 / 0.6644 GB, free: 7.398 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002934/0.2134, allocations: 1.454 MB / 0.6658 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2134, allocations: 12.03 kB / 0.6658 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.2137, allocations: 128.1 kB / 0.666 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.2151, allocations: 0.7516 MB / 0.6667 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.2151, allocations: 58 kB / 0.6667 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.2153, allocations: 83.94 kB / 0.6668 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.2167, allocations: 0.7877 MB / 0.6676 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.2168, allocations: 3.938 kB / 0.6676 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.2168, allocations: 32 kB / 0.6676 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.2169, allocations: 20 kB / 0.6677 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.2181, allocations: 0.6247 MB / 0.6683 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.2233, allocations: 3.719 MB / 0.6719 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.2245, allocations: 0.545 MB / 0.6724 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.2251, allocations: 258.4 kB / 0.6727 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003331/0.2284, allocations: 2.531 MB / 0.6751 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007694/0.2292, allocations: 377.8 kB / 0.6755 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=63): time 4.458e-06/0.2292, allocations: 3.984 kB / 0.6755 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65): time 0.004166/0.2333, allocations: 1.937 MB / 0.6774 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.2334, allocations: 97.66 kB / 0.6775 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000902/0.2343, allocations: 0.6375 MB / 0.6781 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.805e-05/0.2344, allocations: 37.7 kB / 0.6782 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.2348, allocations: 444.6 kB / 0.6786 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.235, allocations: 234 kB / 0.6788 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.2352, allocations: 118.3 kB / 0.6789 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2354, allocations: 334 kB / 0.6792 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/0.2359, allocations: 217.5 kB / 0.6794 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.2365, allocations: 319.5 kB / 0.6797 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2377, allocations: 0.5692 MB / 0.6803 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2377, allocations: 7.875 kB / 0.6803 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001769/0.2394, allocations: 0.7996 MB / 0.6811 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.2395, allocations: 37.69 kB / 0.6811 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2395, allocations: 4 kB / 0.6811 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/0.24, allocations: 104.9 kB / 0.6812 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.2406, allocations: 123.8 kB / 0.6813 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.2435, allocations: 1.977 MB / 0.6833 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.2441, allocations: 24.05 kB / 0.6833 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.2442, allocations: 35.98 kB / 0.6833 GB, free: 2.738 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005325/0.2448, allocations: 221.6 kB / 0.6835 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.2449, allocations: 87.44 kB / 0.6836 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.2469, allocations: 0.8545 MB / 0.6845 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.2469, allocations: 3.984 kB / 0.6845 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2469, allocations: 0 / 0.6845 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/0.2473, allocations: 216.4 kB / 0.6847 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.2474, allocations: 16 kB / 0.6847 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.2478, allocations: 31.97 kB / 0.6847 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.2479, allocations: 48.48 kB / 0.6848 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002019/0.2499, allocations: 0.7962 MB / 0.6855 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001914/0.2518, allocations: 1.095 MB / 0.6866 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000505/0.2523, allocations: 244.3 kB / 0.6868 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007221/0.2531, allocations: 459 kB / 0.6873 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of Backend: time 6.11e-07/0.2531, allocations: 0 / 0.6873 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.2556, allocations: 0.9199 MB / 0.6882 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003683/0.2593, allocations: 2.308 MB / 0.6904 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of Templates: time 0.03009/0.2893, allocations: 15.51 MB / 0.7056 GB, free: 11.91 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer.sim & ./ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.WaterHammer.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 7.216517269960605] Failed to read output from testmodel.py, exit status != 0: 0.2975776550010778 0.31291721199999994 0.09924165099999994 Calling exit ...