Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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.001287/0.001287, 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.00144/0.00144, allocations: 204.8 kB / 23.74 MB, free: 4.543 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.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo): time 0.3691/0.3691, allocations: 65.59 MB / 379.5 MB, free: 2.082 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 72.97 kB / 0.5188 GB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1199, allocations: 68.11 MB / 0.5853 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007828/0.1277, allocations: 6.574 MB / 0.5917 GB, free: 28 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005492/0.1332, allocations: 4.151 MB / 0.5958 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003822/0.1336, allocations: 11.94 kB / 0.5958 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.1347, allocations: 0.493 MB / 0.5963 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.1358, allocations: 0.7182 MB / 0.597 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009158/0.1367, allocations: 0.5345 MB / 0.5975 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002319/0.1391, allocations: 2.477 MB / 0.5999 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007228/0.1398, allocations: 0.6334 MB / 0.6005 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009739/0.1408, allocations: 0.8841 MB / 0.6014 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.1422, allocations: 1.039 MB / 0.6024 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.1424, allocations: 208 kB / 0.6026 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.1428, allocations: 208 kB / 0.6028 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006556/0.1434, allocations: 0.8065 MB / 0.6036 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008785/0.1443, allocations: 0.9026 MB / 0.6045 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.147, allocations: 3.098 MB / 0.6075 GB, free: 15.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.147, allocations: 0 / 0.6075 GB, free: 15.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.147, allocations: 0 / 0.6075 GB, free: 15.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.147, allocations: 0 / 0.6075 GB, free: 15.8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.003962/0.151, allocations: 2.131 MB / 0.6096 GB, free: 13.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.151, allocations: 8.031 kB / 0.6096 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000701/0.1517, allocations: 235.6 kB / 0.6098 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.153, allocations: 0.6918 MB / 0.6105 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.1531, allocations: 148.3 kB / 0.6106 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006932/0.1538, allocations: 276.6 kB / 0.6109 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/0.1577, allocations: 2.723 MB / 0.6135 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.1577, allocations: 11.88 kB / 0.6136 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.1579, allocations: 83.98 kB / 0.6136 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.1581, allocations: 151.5 kB / 0.6138 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/0.1616, allocations: 2.176 MB / 0.6159 GB, free: 6.918 MB / 462.1 MB 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.01117/0.1728, allocations: 8.834 MB / 0.6245 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.1748, allocations: 1.054 MB / 0.6256 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.1758, allocations: 0.5898 MB / 0.6261 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-05/0.1759, allocations: 16.98 kB / 0.6262 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.1759, allocations: 55.5 kB / 0.6262 GB, free: 12.06 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.517e-06/0.1759, allocations: 0 / 0.6262 GB, free: 12.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.02012/0.196, allocations: 7.364 MB / 0.6334 GB, free: 4.625 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004991/0.201, allocations: 3.825 MB / 0.6371 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.2023, allocations: 0.9372 MB / 0.6381 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.2025, allocations: 53.64 kB / 0.6381 GB, free: 15.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/0.2032, allocations: 0.9863 MB / 0.6391 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005165/0.2037, allocations: 0.5269 MB / 0.6396 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006976/0.2044, allocations: 436.5 kB / 0.64 GB, free: 13.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2046, allocations: 330 kB / 0.6403 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.2062, allocations: 0.9142 MB / 0.6412 GB, free: 12.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.2087, allocations: 1.875 MB / 0.643 GB, free: 9.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004388/0.2131, allocations: 2.951 MB / 0.6459 GB, free: 6.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.902e-05/0.2131, allocations: 11.98 kB / 0.6459 GB, free: 6.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008979/0.2221, allocations: 3.673 MB / 0.6495 GB, free: 2.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.2221, allocations: 23.97 kB / 0.6495 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.757e-05/0.2222, allocations: 32 kB / 0.6496 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004564/0.2267, allocations: 0.9801 MB / 0.6505 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/0.2298, allocations: 0.5538 MB / 0.6511 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.2417, allocations: 6.454 MB / 0.6574 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.2437, allocations: 167.8 kB / 0.6575 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.2439, allocations: 120 kB / 0.6576 GB, free: 10.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009694/0.2449, allocations: 0.5671 MB / 0.6582 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.2452, allocations: 111.3 kB / 0.6583 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008053/0.2533, allocations: 2.838 MB / 0.6611 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007176/0.2604, allocations: 2.464 MB / 0.6635 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.2605, allocations: 4 kB / 0.6635 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.2605, allocations: 11.97 kB / 0.6635 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.2746, allocations: 5.452 MB / 0.6688 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.2747, allocations: 4.625 kB / 0.6688 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/0.2766, allocations: 287.6 kB / 0.6691 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005509/0.2821, allocations: 1.193 MB / 0.6703 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.2823, allocations: 43.98 kB / 0.6703 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.2926, allocations: 6.124 MB / 0.6763 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004998/0.2976, allocations: 3.71 MB / 0.6799 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009842/0.3075, allocations: 4.316 MB / 0.6841 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.3078, allocations: 123.2 kB / 0.6842 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.308, allocations: 35.98 kB / 0.6843 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.3093, allocations: 83.86 kB / 0.6844 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003721/0.3097, allocations: 124.8 kB / 0.6845 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.3098, allocations: 51.97 kB / 0.6845 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009132/0.3107, allocations: 0.5614 MB / 0.6851 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3107, allocations: 0 / 0.6851 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00239/0.3131, allocations: 0.5508 MB / 0.6856 GB, free: 13.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * 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 (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002754/0.3134, allocations: 138.9 kB / 0.6857 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006521/0.3199, allocations: 2.564 MB / 0.6883 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.3199, allocations: 4 kB / 0.6883 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/0.3238, allocations: 1.322 MB / 0.6895 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.3255, allocations: 266 kB / 0.6898 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/0.3327, allocations: 4.002 MB / 0.6937 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.3338, allocations: 0.832 MB / 0.6945 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/0.3344, allocations: 123.4 kB / 0.6946 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.3344, allocations: 0 / 0.6946 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of Templates: time 0.2947/0.6291, allocations: 49.93 MB / 0.7434 GB, free: 105.1 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile [Timeout 660] (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.sim & ./ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.364258256740868] Failed to read output from testmodel.py, exit status != 0: 0.6363494889810681 0.645921377 0.49672174199999997 Calling exit ...