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.0008976/0.0008975, allocations: 97.52 kB / 15.69 MB, free: 488 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.0009661/0.0009664, allocations: 173.9 kB / 16.56 MB, free: 6.855 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.355/1.355, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4726/0.4726, allocations: 64.89 MB / 356.5 MB, free: 5.066 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004223, allocations: 9.062 kB / 431.8 MB, free: 39.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 64.86 MB / 496.7 MB, free: 112 kB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.00641/0.1364, allocations: 5.887 MB / 0.4908 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005584/0.1421, allocations: 4.061 MB / 0.4948 GB, free: 6.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006005/0.1427, allocations: 11.94 kB / 0.4948 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009625/0.1437, allocations: 438 kB / 0.4952 GB, free: 5.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.1448, allocations: 0.5337 MB / 0.4957 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.1456, allocations: 319.4 kB / 0.496 GB, free: 4.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.1477, allocations: 1.397 MB / 0.4974 GB, free: 3.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008015/0.1485, allocations: 0.5925 MB / 0.498 GB, free: 2.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.1493, allocations: 0.6192 MB / 0.4986 GB, free: 2.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.1503, allocations: 0.7981 MB / 0.4994 GB, free: 1.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.1505, allocations: 80 kB / 0.4994 GB, free: 1.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.1507, allocations: 80 kB / 0.4995 GB, free: 1.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005483/0.1513, allocations: 0.639 MB / 0.5001 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.1517, allocations: 400.8 kB / 0.5005 GB, free: 220 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.1537, allocations: 2.396 MB / 0.5029 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1537, allocations: 0 / 0.5029 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1537, allocations: 3.938 kB / 0.5029 GB, free: 13.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.279e-05/0.1538, allocations: 4 kB / 0.5029 GB, free: 13.8 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.004042/0.1579, allocations: 1.834 MB / 0.5047 GB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.1579, allocations: 8.031 kB / 0.5047 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.1583, allocations: 193.8 kB / 0.5048 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.1595, allocations: 0.7385 MB / 0.5056 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.1596, allocations: 152 kB / 0.5057 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006542/0.1603, allocations: 267.9 kB / 0.506 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/0.1641, allocations: 2.712 MB / 0.5086 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.1642, allocations: 7.938 kB / 0.5086 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.1644, allocations: 80 kB / 0.5087 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.1645, allocations: 151.5 kB / 0.5088 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/0.1684, allocations: 2.176 MB / 0.511 GB, free: 5.207 MB / 382.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.01414/0.1826, allocations: 10.81 MB / 0.5215 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/0.1859, allocations: 2.786 MB / 0.5242 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/0.186, allocations: 21.06 kB / 0.5243 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/0.1861, allocations: 51.48 kB / 0.5243 GB, free: 6.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.487e-06/0.1861, allocations: 0 / 0.5243 GB, free: 6.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.02078/0.2069, allocations: 7.639 MB / 0.5318 GB, free: 14.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006129/0.213, allocations: 4.112 MB / 0.5358 GB, free: 10.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.2151, allocations: 1.079 MB / 0.5368 GB, free: 9.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004218/0.2156, allocations: 49.7 kB / 0.5369 GB, free: 9.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009047/0.2165, allocations: 0.9278 MB / 0.5378 GB, free: 8.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000929/0.2174, allocations: 0.4931 MB / 0.5383 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.2177, allocations: 48 kB / 0.5383 GB, free: 7.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00028/0.218, allocations: 443.5 kB / 0.5387 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/0.22, allocations: 0.9182 MB / 0.5396 GB, free: 6.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/0.2231, allocations: 1.87 MB / 0.5415 GB, free: 3.977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.2254, allocations: 1.248 MB / 0.5427 GB, free: 2.727 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.2255, allocations: 11.95 kB / 0.5427 GB, free: 2.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009291/0.2348, allocations: 3.7 MB / 0.5463 GB, free: 15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.2349, allocations: 27.98 kB / 0.5463 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.284e-05/0.2349, allocations: 32 kB / 0.5464 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00484/0.2398, allocations: 1.001 MB / 0.5473 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/0.243, allocations: 0.5733 MB / 0.5479 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.2545, allocations: 6.458 MB / 0.5542 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.2571, allocations: 227.6 kB / 0.5544 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/0.2574, allocations: 124 kB / 0.5545 GB, free: 6.367 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 15} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.2586, allocations: 0.5724 MB / 0.5551 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.2589, allocations: 134.4 kB / 0.5552 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008028/0.2669, allocations: 2.883 MB / 0.558 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007257/0.2743, allocations: 2.507 MB / 0.5605 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/0.2743, allocations: 4 kB / 0.5605 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/0.2744, allocations: 7.969 kB / 0.5605 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.2889, allocations: 6.066 MB / 0.5664 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.2889, allocations: 8 kB / 0.5664 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/0.2909, allocations: 287.9 kB / 0.5667 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005771/0.2967, allocations: 1.232 MB / 0.5679 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002938/0.2971, allocations: 35.98 kB / 0.568 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009548/0.3066, allocations: 6.172 MB / 0.574 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2519/0.5586, allocations: 3.992 MB / 0.5779 GB, free: 78.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009271/0.5679, allocations: 4.638 MB / 0.5824 GB, free: 76.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/0.5685, allocations: 223.7 kB / 0.5826 GB, free: 76.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.5687, allocations: 34.56 kB / 0.5827 GB, free: 76.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.5701, allocations: 141.3 kB / 0.5828 GB, free: 76.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.5704, allocations: 117.7 kB / 0.5829 GB, free: 76.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5706, allocations: 51.75 kB / 0.5829 GB, free: 76.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009172/0.5715, allocations: 0.6892 MB / 0.5836 GB, free: 76.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5715, allocations: 0.75 kB / 0.5836 GB, free: 76.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002454/0.5739, allocations: 0.5793 MB / 0.5842 GB, free: 76.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,61.2%) 10} * Non-linear torn systems: 3 {1 3,5 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.5742, allocations: 144.8 kB / 0.5843 GB, free: 76.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006929/0.5811, allocations: 2.639 MB / 0.5869 GB, free: 76.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.5812, allocations: 3.391 kB / 0.5869 GB, free: 76.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004346/0.5855, allocations: 1.398 MB / 0.5883 GB, free: 76.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.5882, allocations: 367.2 kB / 0.5886 GB, free: 76.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/0.5959, allocations: 4.522 MB / 0.593 GB, free: 74.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.5974, allocations: 1.453 MB / 0.5945 GB, free: 73.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001998/0.5994, allocations: 449.9 kB / 0.5949 GB, free: 73.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.5998, allocations: 118.3 kB / 0.595 GB, free: 73.38 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5998, allocations: 4 kB / 0.595 GB, free: 73.37 MB / 446.1 MB Notification: Performance of Templates: time 0.03532/0.6352, allocations: 26.96 MB / 0.6213 GB, free: 52.43 MB / 446.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: