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.001308/0.001308, allocations: 107.4 kB / 19.64 MB, free: 2.152 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.00144/0.00144, allocations: 195.2 kB / 22.92 MB, free: 5.07 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.522/1.522, allocations: 225.6 MB / 251.7 MB, free: 13.3 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.4009/0.4009, allocations: 65.54 MB / 372.4 MB, free: 8.148 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.00205/0.00205, allocations: 67.77 kB / 0.5094 GB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1718, allocations: 66.86 MB / 0.5747 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.01006/0.1818, allocations: 7.422 MB / 0.582 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007916/0.1898, allocations: 4.4 MB / 0.5863 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.1908, allocations: 11.94 kB / 0.5863 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.1924, allocations: 0.5631 MB / 0.5868 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.1943, allocations: 0.7221 MB / 0.5875 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1958, allocations: 0.5267 MB / 0.588 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.1991, allocations: 2.458 MB / 0.5904 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009835/0.2001, allocations: 0.6406 MB / 0.5911 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.2012, allocations: 0.8568 MB / 0.5919 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.2029, allocations: 1.098 MB / 0.593 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.2032, allocations: 208 kB / 0.5932 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.2035, allocations: 208 kB / 0.5934 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008212/0.2044, allocations: 0.8065 MB / 0.5942 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.2055, allocations: 1.089 MB / 0.5952 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.2089, allocations: 3.079 MB / 0.5982 GB, free: 6.949 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2089, allocations: 0 / 0.5982 GB, free: 6.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.2089, allocations: 4 kB / 0.5982 GB, free: 6.945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.101e-05/0.2089, allocations: 0 / 0.5982 GB, free: 6.945 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.004993/0.2139, allocations: 2.207 MB / 0.6004 GB, free: 4.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.214, allocations: 8.031 kB / 0.6004 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.2144, allocations: 199.7 kB / 0.6006 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.2158, allocations: 0.7438 MB / 0.6013 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.216, allocations: 156.3 kB / 0.6015 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007619/0.2167, allocations: 272.5 kB / 0.6017 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004615/0.2213, allocations: 2.727 MB / 0.6044 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.2214, allocations: 7.938 kB / 0.6044 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.2216, allocations: 87.98 kB / 0.6045 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.2218, allocations: 159.4 kB / 0.6046 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003969/0.2258, allocations: 2.176 MB / 0.6068 GB, free: 13.92 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.01522/0.241, allocations: 10.81 MB / 0.6173 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.2441, allocations: 2.72 MB / 0.62 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.2453, allocations: 0.5858 MB / 0.6205 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.2454, allocations: 25 kB / 0.6206 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.2454, allocations: 63.48 kB / 0.6206 GB, free: 14.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 4.338e-06/0.2454, allocations: 0 / 0.6206 GB, free: 14.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.02146/0.2669, allocations: 7.683 MB / 0.6281 GB, free: 6.902 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005438/0.2723, allocations: 4.093 MB / 0.6321 GB, free: 2.461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.274, allocations: 1.087 MB / 0.6332 GB, free: 1.352 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003729/0.2744, allocations: 45.7 kB / 0.6332 GB, free: 1.301 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009723/0.2753, allocations: 0.9708 MB / 0.6342 GB, free: 324 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007442/0.2761, allocations: 0.5191 MB / 0.6347 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000842/0.2769, allocations: 448.4 kB / 0.6351 GB, free: 15.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.2771, allocations: 341.9 kB / 0.6354 GB, free: 15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.279, allocations: 0.9186 MB / 0.6363 GB, free: 14.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00268/0.2816, allocations: 1.882 MB / 0.6382 GB, free: 11.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/0.2862, allocations: 2.943 MB / 0.6411 GB, free: 8.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.2862, allocations: 12 kB / 0.6411 GB, free: 8.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00967/0.2959, allocations: 3.696 MB / 0.6447 GB, free: 4.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.296, allocations: 20 kB / 0.6447 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-05/0.296, allocations: 32 kB / 0.6447 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004809/0.3008, allocations: 0.9861 MB / 0.6457 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/0.3042, allocations: 0.5537 MB / 0.6462 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.3169, allocations: 6.673 MB / 0.6527 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.3195, allocations: 159.8 kB / 0.6529 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/0.3198, allocations: 128 kB / 0.653 GB, free: 11.87 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.001185/0.321, allocations: 0.5681 MB / 0.6536 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.3213, allocations: 135.1 kB / 0.6537 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008221/0.3295, allocations: 2.843 MB / 0.6565 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007304/0.3368, allocations: 2.464 MB / 0.6589 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.3369, allocations: 8 kB / 0.6589 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.3369, allocations: 11.97 kB / 0.6589 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.3525, allocations: 6.041 MB / 0.6648 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.3525, allocations: 4 kB / 0.6648 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.3546, allocations: 288.1 kB / 0.6651 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0056/0.3602, allocations: 1.209 MB / 0.6663 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.3604, allocations: 43.97 kB / 0.6663 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.371, allocations: 6.318 MB / 0.6725 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005159/0.3762, allocations: 3.963 MB / 0.6763 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.3863, allocations: 4.332 MB / 0.6806 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/0.3869, allocations: 220.2 kB / 0.6808 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.3871, allocations: 35.98 kB / 0.6808 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.3884, allocations: 75.92 kB / 0.6809 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/0.3888, allocations: 117 kB / 0.681 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.3889, allocations: 51.97 kB / 0.6811 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001066/0.3899, allocations: 0.7 MB / 0.6817 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.3899, allocations: 0 / 0.6817 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002361/0.3923, allocations: 0.5586 MB / 0.6823 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.0002788/0.3926, allocations: 147.3 kB / 0.6824 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006861/0.3994, allocations: 2.567 MB / 0.6849 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.3995, allocations: 0 / 0.6849 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004142/0.4036, allocations: 1.323 MB / 0.6862 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.4062, allocations: 407.7 kB / 0.6866 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/0.414, allocations: 3.909 MB / 0.6904 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.4155, allocations: 1.419 MB / 0.6918 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001662/0.4172, allocations: 452.7 kB / 0.6922 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/0.4176, allocations: 111.4 kB / 0.6923 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of SimCode: time 1.513e-06/0.4176, allocations: 0 / 0.6923 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of Templates: time 0.4549/0.8724, allocations: 30.95 MB / 0.7226 GB, free: 124.5 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 -s cvode -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.2998744319193065] Failed to read output from testmodel.py, exit status != 0: 0.8814510209485888 0.891313997 0.679963166 Calling exit ...