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.001365/0.001365, allocations: 101 kB / 20.44 MB, free: 1.504 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.001565/0.001565, allocations: 219.8 kB / 23.76 MB, free: 4.711 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.3932/0.3932, allocations: 65.54 MB / 379.5 MB, free: 2.352 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: ThermalSeparation 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.002042/0.002042, allocations: 69.23 kB / 0.5188 GB, free: 2.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1413, allocations: 68.11 MB / 0.5853 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008908/0.1502, allocations: 7.446 MB / 0.5926 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00692/0.1571, allocations: 4.458 MB / 0.597 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009629/0.1581, allocations: 11.94 kB / 0.597 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.1597, allocations: 0.5631 MB / 0.5975 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.1613, allocations: 0.7221 MB / 0.5982 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1624, allocations: 0.5422 MB / 0.5988 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002726/0.1651, allocations: 2.489 MB / 0.6012 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008394/0.166, allocations: 0.6294 MB / 0.6018 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.1671, allocations: 0.8803 MB / 0.6027 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.1686, allocations: 1.094 MB / 0.6037 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.1688, allocations: 208 kB / 0.6039 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.1692, allocations: 208 kB / 0.6041 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007066/0.1699, allocations: 0.8065 MB / 0.6049 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.171, allocations: 1.089 MB / 0.606 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.174, allocations: 3.087 MB / 0.609 GB, free: 14.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.174, allocations: 0 / 0.609 GB, free: 14.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.174, allocations: 4 kB / 0.609 GB, free: 14.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.085e-05/0.1741, allocations: 4 kB / 0.609 GB, free: 14.56 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.00463/0.1787, allocations: 2.12 MB / 0.6111 GB, free: 12.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1788, allocations: 8.031 kB / 0.6111 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007696/0.1795, allocations: 239.6 kB / 0.6113 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.1809, allocations: 0.6918 MB / 0.612 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.181, allocations: 148.3 kB / 0.6121 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007359/0.1817, allocations: 272.6 kB / 0.6124 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004284/0.186, allocations: 2.727 MB / 0.615 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.1861, allocations: 3.938 kB / 0.615 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.1863, allocations: 91.98 kB / 0.6151 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.1865, allocations: 151.4 kB / 0.6153 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/0.1902, allocations: 2.176 MB / 0.6174 GB, free: 5.688 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.01341/0.2037, allocations: 10.75 MB / 0.6279 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.2057, allocations: 1.06 MB / 0.6289 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.2068, allocations: 0.5909 MB / 0.6295 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.2069, allocations: 28.84 kB / 0.6295 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.207, allocations: 51.56 kB / 0.6296 GB, free: 8.602 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.026e-06/0.207, allocations: 0 / 0.6296 GB, free: 8.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.02065/0.2276, allocations: 7.374 MB / 0.6368 GB, free: 1.164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005259/0.2329, allocations: 3.894 MB / 0.6406 GB, free: 12.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.2345, allocations: 1.087 MB / 0.6417 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.2347, allocations: 57.7 kB / 0.6417 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007459/0.2355, allocations: 0.9669 MB / 0.6427 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/0.236, allocations: 0.5191 MB / 0.6432 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006986/0.2367, allocations: 448.3 kB / 0.6436 GB, free: 9.855 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2369, allocations: 341.9 kB / 0.6439 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.2385, allocations: 0.9142 MB / 0.6448 GB, free: 8.598 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.2412, allocations: 1.883 MB / 0.6466 GB, free: 6.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004364/0.2456, allocations: 2.943 MB / 0.6495 GB, free: 2.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.2456, allocations: 8 kB / 0.6495 GB, free: 2.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009322/0.2549, allocations: 3.689 MB / 0.6531 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.255, allocations: 20 kB / 0.6532 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.353e-05/0.255, allocations: 32 kB / 0.6532 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004661/0.2597, allocations: 0.9746 MB / 0.6541 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.2627, allocations: 0.5615 MB / 0.6547 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.2746, allocations: 6.584 MB / 0.6611 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.2767, allocations: 159.8 kB / 0.6613 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.277, allocations: 124 kB / 0.6614 GB, free: 6.512 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.0009849/0.2779, allocations: 0.5593 MB / 0.6619 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.2783, allocations: 139.1 kB / 0.6621 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008112/0.2864, allocations: 2.836 MB / 0.6648 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007137/0.2935, allocations: 2.472 MB / 0.6672 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.2935, allocations: 7.984 kB / 0.6673 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.2935, allocations: 3.984 kB / 0.6673 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.3077, allocations: 5.981 MB / 0.6731 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.3077, allocations: 4 kB / 0.6731 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.3096, allocations: 284.2 kB / 0.6734 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005687/0.3153, allocations: 1.193 MB / 0.6745 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.3155, allocations: 39.98 kB / 0.6746 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.3259, allocations: 6.225 MB / 0.6807 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005164/0.3311, allocations: 3.772 MB / 0.6843 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.3412, allocations: 4.324 MB / 0.6886 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.3417, allocations: 151.1 kB / 0.6887 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.3419, allocations: 35.98 kB / 0.6887 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.3432, allocations: 79.91 kB / 0.6888 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/0.3436, allocations: 120.6 kB / 0.6889 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.3437, allocations: 51.97 kB / 0.689 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00105/0.3447, allocations: 0.7 MB / 0.6897 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.3447, allocations: 192 / 0.6897 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002268/0.347, allocations: 0.5585 MB / 0.6902 GB, free: 8.207 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.0002602/0.3473, allocations: 146.9 kB / 0.6903 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006564/0.3538, allocations: 2.563 MB / 0.6929 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.3538, allocations: 0 / 0.6929 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003911/0.3578, allocations: 1.334 MB / 0.6942 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.3602, allocations: 397.9 kB / 0.6945 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007597/0.3678, allocations: 4.011 MB / 0.6985 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.3692, allocations: 1.422 MB / 0.6998 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.3698, allocations: 127.4 kB / 0.7 GB, free: 14.02 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.3698, allocations: 4 kB / 0.7 GB, free: 14.02 MB / 0.545 GB Notification: Performance of Templates: time 0.3329/0.7027, allocations: 51.03 MB / 0.7498 GB, free: 96.19 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: 12.216606524772942] Failed to read output from testmodel.py, exit status != 0: 0.7109994511120021 0.720654591 0.544321393 Calling exit ...