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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.000886, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 179.8 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5826/0.5826, allocations: 64.92 MB / 357 MB, free: 4.906 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 8.812 kB / 432.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1714, allocations: 64.85 MB / 497.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008707/0.1802, allocations: 6.975 MB / 0.4926 GB, free: 8.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007551/0.1878, allocations: 4.311 MB / 0.4968 GB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.1893, allocations: 4 kB / 0.4968 GB, free: 4.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.1913, allocations: 0.5092 MB / 0.4973 GB, free: 3.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.1937, allocations: 0.6758 MB / 0.498 GB, free: 2.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.1953, allocations: 491.5 kB / 0.4984 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004376/0.1997, allocations: 3.172 MB / 0.5015 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.2011, allocations: 0.6133 MB / 0.5021 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.2029, allocations: 0.7085 MB / 0.5028 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.2053, allocations: 1.031 MB / 0.5038 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000597/0.2059, allocations: 80 kB / 0.5039 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009022/0.2068, allocations: 76 kB / 0.504 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.2078, allocations: 0.6777 MB / 0.5047 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.21, allocations: 0.9619 MB / 0.5056 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.2135, allocations: 2.865 MB / 0.5084 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2136, allocations: 0 / 0.5084 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2136, allocations: 0 / 0.5084 GB, free: 8.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001318/0.2137, allocations: 4 kB / 0.5084 GB, free: 8.215 MB / 382.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.00494/0.2187, allocations: 1.817 MB / 0.5102 GB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2187, allocations: 8.031 kB / 0.5102 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005951/0.2193, allocations: 190.7 kB / 0.5104 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.2205, allocations: 0.7512 MB / 0.5111 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.2207, allocations: 152.3 kB / 0.5112 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006959/0.2214, allocations: 268.6 kB / 0.5115 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.2256, allocations: 2.743 MB / 0.5142 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.2257, allocations: 3.938 kB / 0.5142 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.2259, allocations: 87.98 kB / 0.5143 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/0.2261, allocations: 151.4 kB / 0.5144 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/0.2299, allocations: 2.184 MB / 0.5165 GB, free: 15.59 MB / 398.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.01333/0.2432, allocations: 10.81 MB / 0.5271 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/0.246, allocations: 2.789 MB / 0.5298 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.2472, allocations: 0.6522 MB / 0.5305 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.663e-05/0.2473, allocations: 24.92 kB / 0.5305 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.2473, allocations: 55.44 kB / 0.5305 GB, free: 264 kB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 4.318e-06/0.2473, allocations: 0 / 0.5305 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.02196/0.2693, allocations: 7.626 MB / 0.538 GB, free: 8.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005322/0.2746, allocations: 3.904 MB / 0.5418 GB, free: 4.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.2765, allocations: 1.09 MB / 0.5429 GB, free: 3.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003812/0.2769, allocations: 49.7 kB / 0.5429 GB, free: 3.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006735/0.2776, allocations: 0.9317 MB / 0.5438 GB, free: 2.137 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005824/0.2782, allocations: 0.4969 MB / 0.5443 GB, free: 1.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003085/0.2785, allocations: 194.4 kB / 0.5445 GB, free: 1.438 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2786, allocations: 341.9 kB / 0.5448 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.2804, allocations: 0.9221 MB / 0.5457 GB, free: 176 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/0.2828, allocations: 1.886 MB / 0.5475 GB, free: 13.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/0.287, allocations: 2.959 MB / 0.5504 GB, free: 10.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.287, allocations: 8 kB / 0.5504 GB, free: 10.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008991/0.296, allocations: 3.719 MB / 0.5541 GB, free: 6.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.2961, allocations: 20 kB / 0.5541 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.022e-05/0.2961, allocations: 32 kB / 0.5541 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005032/0.3012, allocations: 1.009 MB / 0.5551 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/0.3044, allocations: 0.5694 MB / 0.5557 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.3174, allocations: 6.306 MB / 0.5618 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/0.3208, allocations: 227.6 kB / 0.562 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006691/0.3215, allocations: 132 kB / 0.5622 GB, free: 14.17 MB / 446.1 MB 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.002158/0.3237, allocations: 0.5569 MB / 0.5627 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007516/0.3244, allocations: 126.4 kB / 0.5628 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009691/0.3341, allocations: 2.886 MB / 0.5657 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007757/0.3419, allocations: 2.511 MB / 0.5681 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/0.342, allocations: 4 kB / 0.5681 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-05/0.342, allocations: 11.97 kB / 0.5681 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.358, allocations: 6.082 MB / 0.5741 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/0.358, allocations: 8.625 kB / 0.5741 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.3601, allocations: 291.5 kB / 0.5743 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006016/0.3661, allocations: 1.234 MB / 0.5756 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/0.3664, allocations: 39.97 kB / 0.5756 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/0.3766, allocations: 6.03 MB / 0.5815 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005681/0.3823, allocations: 3.774 MB / 0.5852 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.3935, allocations: 4.369 MB / 0.5894 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009444/0.3945, allocations: 215.4 kB / 0.5896 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005504/0.3951, allocations: 44.42 kB / 0.5897 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/0.3973, allocations: 139.7 kB / 0.5898 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005371/0.3979, allocations: 124.6 kB / 0.5899 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/0.398, allocations: 47.98 kB / 0.59 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001604/0.3997, allocations: 0.704 MB / 0.5907 GB, free: 132 kB / 462.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3997, allocations: 0 / 0.5907 GB, free: 132 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.3738/0.7735, allocations: 0.5774 MB / 0.5912 GB, free: 94.94 MB / 462.1 MB 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.0002955/0.7738, allocations: 143.7 kB / 0.5914 GB, free: 94.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006466/0.7803, allocations: 2.676 MB / 0.594 GB, free: 94.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.7803, allocations: 6 kB / 0.594 GB, free: 94.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003702/0.784, allocations: 1.39 MB / 0.5953 GB, free: 94.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.7873, allocations: 388.4 kB / 0.5957 GB, free: 94.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/0.7951, allocations: 4.712 MB / 0.6003 GB, free: 92.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.7967, allocations: 1.417 MB / 0.6017 GB, free: 91.51 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002066/0.7987, allocations: 456.8 kB / 0.6021 GB, free: 91.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.7992, allocations: 113.2 kB / 0.6022 GB, free: 91.47 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.7992, allocations: 3.938 kB / 0.6022 GB, free: 91.47 MB / 462.1 MB Notification: Performance of Templates: time 0.03899/0.8382, allocations: 27.65 MB / 0.6293 GB, free: 74.12 MB / 462.1 MB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: