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.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.001406/0.001406, allocations: 111 kB / 19.69 MB, free: 2.199 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.001498/0.001498, allocations: 188 kB / 22.98 MB, free: 5.059 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.529/1.529, allocations: 225.6 MB / 251.8 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3869/0.3869, allocations: 65.58 MB / 372.6 MB, free: 8.027 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-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(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.002051/0.002051, allocations: 65.8 kB / 0.5098 GB, free: 6.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1525, allocations: 66.94 MB / 0.5752 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009596/0.1621, allocations: 7.414 MB / 0.5824 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006919/0.1691, allocations: 4.412 MB / 0.5867 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00087/0.1699, allocations: 11.94 kB / 0.5868 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.1715, allocations: 0.563 MB / 0.5873 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.1731, allocations: 0.7143 MB / 0.588 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1742, allocations: 0.5501 MB / 0.5885 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.1772, allocations: 2.474 MB / 0.591 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.1783, allocations: 0.6487 MB / 0.5916 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.1796, allocations: 0.8686 MB / 0.5924 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.1811, allocations: 1.106 MB / 0.5935 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.1815, allocations: 204 kB / 0.5937 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.1819, allocations: 204 kB / 0.5939 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007828/0.1826, allocations: 0.8065 MB / 0.5947 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.1839, allocations: 1.089 MB / 0.5958 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.1869, allocations: 3.079 MB / 0.5988 GB, free: 6.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.187, allocations: 0 / 0.5988 GB, free: 6.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.187, allocations: 0 / 0.5988 GB, free: 6.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.701e-05/0.187, allocations: 3.938 kB / 0.5988 GB, free: 6.383 MB / 446.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.004783/0.1918, allocations: 2.135 MB / 0.6008 GB, free: 4.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1918, allocations: 12.03 kB / 0.6009 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.1922, allocations: 199.7 kB / 0.601 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.1936, allocations: 0.6918 MB / 0.6017 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.1937, allocations: 148.3 kB / 0.6019 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008387/0.1946, allocations: 272.5 kB / 0.6021 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.1993, allocations: 2.723 MB / 0.6048 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.1993, allocations: 7.938 kB / 0.6048 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.1995, allocations: 91.97 kB / 0.6049 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.1997, allocations: 159.4 kB / 0.605 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/0.2038, allocations: 2.172 MB / 0.6072 GB, free: 13.53 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.01493/0.2187, allocations: 10.74 MB / 0.6176 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.2209, allocations: 1.063 MB / 0.6187 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.222, allocations: 0.5838 MB / 0.6193 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.767e-05/0.2221, allocations: 36.84 kB / 0.6193 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.2221, allocations: 43.56 kB / 0.6193 GB, free: 472 kB / 462.1 MB Notification: Performance of pre-optimization done (n=115): time 3.647e-06/0.2221, allocations: 0 / 0.6193 GB, free: 472 kB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.02231/0.2444, allocations: 7.387 MB / 0.6265 GB, free: 9.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005431/0.2499, allocations: 3.895 MB / 0.6303 GB, free: 4.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.2517, allocations: 1.09 MB / 0.6314 GB, free: 3.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003046/0.252, allocations: 53.7 kB / 0.6315 GB, free: 3.648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007985/0.2528, allocations: 0.963 MB / 0.6324 GB, free: 2.672 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007476/0.2535, allocations: 0.5191 MB / 0.6329 GB, free: 2.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009404/0.2544, allocations: 440.4 kB / 0.6333 GB, free: 1.711 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.2546, allocations: 350 kB / 0.6337 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.2565, allocations: 0.9142 MB / 0.6346 GB, free: 456 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.2593, allocations: 1.875 MB / 0.6364 GB, free: 14.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.2638, allocations: 2.955 MB / 0.6393 GB, free: 10.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.064e-05/0.2638, allocations: 8 kB / 0.6393 GB, free: 10.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009487/0.2733, allocations: 3.689 MB / 0.6429 GB, free: 6.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.2734, allocations: 23.03 kB / 0.6429 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-05/0.2734, allocations: 36 kB / 0.6429 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004957/0.2784, allocations: 0.9813 MB / 0.6439 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/0.2817, allocations: 0.5615 MB / 0.6444 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.2946, allocations: 6.568 MB / 0.6509 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.297, allocations: 171.7 kB / 0.651 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004909/0.2975, allocations: 120 kB / 0.6511 GB, free: 14.36 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.001307/0.2988, allocations: 0.5556 MB / 0.6517 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/0.2993, allocations: 147.1 kB / 0.6518 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008973/0.3082, allocations: 2.847 MB / 0.6546 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007613/0.3159, allocations: 2.468 MB / 0.657 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.3159, allocations: 8 kB / 0.657 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.3159, allocations: 7.969 kB / 0.657 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.3316, allocations: 5.959 MB / 0.6628 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/0.3316, allocations: 8.031 kB / 0.6629 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/0.3337, allocations: 275.6 kB / 0.6631 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006009/0.3397, allocations: 1.205 MB / 0.6643 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/0.34, allocations: 35.98 kB / 0.6643 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/0.3521, allocations: 6.218 MB / 0.6704 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005914/0.358, allocations: 3.764 MB / 0.6741 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.3695, allocations: 4.332 MB / 0.6783 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005653/0.3701, allocations: 147.1 kB / 0.6784 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/0.3705, allocations: 35.98 kB / 0.6785 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.3722, allocations: 79.91 kB / 0.6786 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/0.3726, allocations: 128.6 kB / 0.6787 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.3728, allocations: 43.98 kB / 0.6787 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001336/0.3741, allocations: 0.7039 MB / 0.6794 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3741, allocations: 0 / 0.6794 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00275/0.3768, allocations: 0.5586 MB / 0.68 GB, free: 64 kB / 0.5137 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.0003394/0.3772, allocations: 139.2 kB / 0.6801 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007451/0.3846, allocations: 2.572 MB / 0.6826 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.3846, allocations: 0 / 0.6826 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004461/0.3891, allocations: 1.325 MB / 0.6839 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/0.3923, allocations: 406.3 kB / 0.6843 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008951/0.4013, allocations: 3.9 MB / 0.6881 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.4031, allocations: 1.407 MB / 0.6895 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001774/0.4049, allocations: 456.7 kB / 0.6899 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/0.4054, allocations: 111.4 kB / 0.69 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.4054, allocations: 7.938 kB / 0.69 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of Templates: time 0.332/0.7374, allocations: 31.8 MB / 0.7211 GB, free: 125.6 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 os._exit(0), Time elapsed: 6.920638309791684] Failed to read output from testmodel.py, exit status != 0: 0.7459886027500033 0.7636219639999999 0.57320187 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbe3acc97b0>