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.001641/0.001641, allocations: 96.34 kB / 19.69 MB, free: 1.809 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.0019/0.0019, allocations: 208.9 kB / 22.99 MB, free: 4.609 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.498/1.498, allocations: 230.6 MB / 256.8 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.4083/0.4083, allocations: 65.58 MB / 378.7 MB, free: 2.098 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.002482/0.002482, allocations: 63.2 kB / 0.518 GB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1371, allocations: 68.11 MB / 0.5846 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009382/0.1465, allocations: 6.563 MB / 0.591 GB, free: 68 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007597/0.1541, allocations: 4.151 MB / 0.595 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.1552, allocations: 11.94 kB / 0.595 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.1573, allocations: 0.4891 MB / 0.5955 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.1596, allocations: 0.7221 MB / 0.5962 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1611, allocations: 0.5344 MB / 0.5967 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003712/0.1648, allocations: 2.485 MB / 0.5992 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.1662, allocations: 0.6334 MB / 0.5998 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.1681, allocations: 0.8763 MB / 0.6006 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.1702, allocations: 1.039 MB / 0.6017 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006128/0.1708, allocations: 208 kB / 0.6019 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008064/0.1716, allocations: 204 kB / 0.602 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.1727, allocations: 0.8065 MB / 0.6028 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.1746, allocations: 0.9104 MB / 0.6037 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.1786, allocations: 3.098 MB / 0.6067 GB, free: 15.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.1786, allocations: 0 / 0.6067 GB, free: 15.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1786, allocations: 4 kB / 0.6068 GB, free: 15.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001322/0.1787, allocations: 0 / 0.6068 GB, free: 15.83 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.00602/0.1847, allocations: 2.124 MB / 0.6088 GB, free: 13.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1848, allocations: 8.031 kB / 0.6088 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1858, allocations: 235.6 kB / 0.6091 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.1876, allocations: 0.6879 MB / 0.6097 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.1878, allocations: 152.3 kB / 0.6099 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009272/0.1887, allocations: 272.6 kB / 0.6101 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005681/0.1944, allocations: 2.727 MB / 0.6128 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.807e-05/0.1945, allocations: 7.938 kB / 0.6128 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.1949, allocations: 83.98 kB / 0.6129 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002355/0.1951, allocations: 159.4 kB / 0.613 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005087/0.2002, allocations: 2.168 MB / 0.6152 GB, free: 6.961 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.01458/0.2148, allocations: 8.837 MB / 0.6238 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.2172, allocations: 1.054 MB / 0.6248 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.2184, allocations: 0.5858 MB / 0.6254 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.2186, allocations: 13 kB / 0.6254 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.2186, allocations: 59.44 kB / 0.6255 GB, free: 12.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.657e-06/0.2186, allocations: 4 kB / 0.6255 GB, free: 12.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.02193/0.2405, allocations: 7.362 MB / 0.6327 GB, free: 4.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005271/0.2458, allocations: 3.826 MB / 0.6364 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.2472, allocations: 0.9372 MB / 0.6373 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000308/0.2475, allocations: 57.75 kB / 0.6374 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007968/0.2483, allocations: 0.9901 MB / 0.6383 GB, free: 14.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/0.2491, allocations: 0.523 MB / 0.6388 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008736/0.25, allocations: 436.4 kB / 0.6393 GB, free: 13.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2501, allocations: 326 kB / 0.6396 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.252, allocations: 0.9181 MB / 0.6405 GB, free: 12.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.2547, allocations: 1.875 MB / 0.6423 GB, free: 10.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004785/0.2595, allocations: 2.955 MB / 0.6452 GB, free: 6.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.4e-05/0.2595, allocations: 8 kB / 0.6452 GB, free: 6.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01015/0.2696, allocations: 3.673 MB / 0.6488 GB, free: 2.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.2697, allocations: 23.94 kB / 0.6488 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.264e-05/0.2697, allocations: 35.98 kB / 0.6488 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004884/0.2746, allocations: 0.9782 MB / 0.6498 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/0.278, allocations: 0.5654 MB / 0.6503 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.2908, allocations: 6.452 MB / 0.6566 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.2932, allocations: 167.8 kB / 0.6568 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004544/0.2936, allocations: 124 kB / 0.6569 GB, free: 10.39 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.001345/0.295, allocations: 0.5554 MB / 0.6575 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.2954, allocations: 115.3 kB / 0.6576 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008983/0.3044, allocations: 2.838 MB / 0.6603 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008314/0.3127, allocations: 2.464 MB / 0.6627 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/0.3127, allocations: 4 kB / 0.6627 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.934e-05/0.3128, allocations: 11.97 kB / 0.6628 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.3291, allocations: 5.453 MB / 0.6681 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/0.3291, allocations: 7.938 kB / 0.6681 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/0.3313, allocations: 279.5 kB / 0.6684 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005962/0.3373, allocations: 1.197 MB / 0.6695 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003388/0.3376, allocations: 39.97 kB / 0.6696 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.349, allocations: 6.128 MB / 0.6755 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005497/0.3545, allocations: 3.71 MB / 0.6792 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.3657, allocations: 4.312 MB / 0.6834 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.3661, allocations: 127.2 kB / 0.6835 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/0.3665, allocations: 35.98 kB / 0.6835 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.3681, allocations: 75.91 kB / 0.6836 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/0.3685, allocations: 128.6 kB / 0.6837 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/0.3687, allocations: 47.98 kB / 0.6838 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009964/0.3697, allocations: 0.5536 MB / 0.6843 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3697, allocations: 0 / 0.6843 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002722/0.3724, allocations: 0.5547 MB / 0.6849 GB, free: 13.07 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.0004031/0.3728, allocations: 142.9 kB / 0.685 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007709/0.3805, allocations: 2.567 MB / 0.6875 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.3805, allocations: 0 / 0.6875 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004664/0.3852, allocations: 1.323 MB / 0.6888 GB, free: 9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.3877, allocations: 274.3 kB / 0.6891 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008637/0.3963, allocations: 3.881 MB / 0.6928 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.3977, allocations: 0.8321 MB / 0.6937 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001711/0.3994, allocations: 431.1 kB / 0.6941 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.3999, allocations: 103.4 kB / 0.6942 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.3999, allocations: 0 / 0.6942 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of Templates: time 0.2993/0.6992, allocations: 27.9 MB / 0.7214 GB, free: 117.9 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.64003144018352] Failed to read output from testmodel.py, exit status != 0: 0.7092800159007311 0.722326536 0.540830775 Calling exit ...