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.006076/0.006076, allocations: 105.1 kB / 15.88 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 196.8 kB / 16.79 MB, free: 6.246 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.313/1.313, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5126/0.5126, allocations: 64.94 MB / 355.5 MB, free: 4.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 58.84 kB / 429.8 MB, free: 39.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1495, allocations: 63.54 MB / 493.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008273/0.1578, allocations: 7.431 MB / 0.4891 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006078/0.1639, allocations: 4.341 MB / 0.4933 GB, free: 5.711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.1652, allocations: 11.94 kB / 0.4933 GB, free: 5.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.1667, allocations: 0.5209 MB / 0.4938 GB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.1688, allocations: 0.668 MB / 0.4945 GB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1701, allocations: 495.5 kB / 0.4949 GB, free: 4.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003595/0.1737, allocations: 3.172 MB / 0.498 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.1748, allocations: 0.6056 MB / 0.4986 GB, free: 224 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.1759, allocations: 0.7201 MB / 0.4993 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.1772, allocations: 1.028 MB / 0.5003 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.1774, allocations: 88 kB / 0.5004 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.1777, allocations: 76 kB / 0.5005 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005433/0.1783, allocations: 0.6815 MB / 0.5012 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000917/0.1792, allocations: 0.9484 MB / 0.5021 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.1814, allocations: 2.905 MB / 0.5049 GB, free: 9.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1814, allocations: 0 / 0.5049 GB, free: 9.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1814, allocations: 0 / 0.5049 GB, free: 9.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.319e-05/0.1815, allocations: 0 / 0.5049 GB, free: 9.754 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.004239/0.1857, allocations: 2.151 MB / 0.507 GB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.1858, allocations: 12.03 kB / 0.507 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.1861, allocations: 194.6 kB / 0.5072 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.1872, allocations: 0.7473 MB / 0.5079 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.559e-05/0.1873, allocations: 148.4 kB / 0.5081 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000692/0.188, allocations: 268.6 kB / 0.5083 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/0.192, allocations: 2.735 MB / 0.511 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.192, allocations: 11.88 kB / 0.511 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.1922, allocations: 83.98 kB / 0.5111 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/0.1924, allocations: 151.4 kB / 0.5113 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.1958, allocations: 2.176 MB / 0.5134 GB, free: 0.8008 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.01324/0.2091, allocations: 10.82 MB / 0.5239 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/0.2118, allocations: 2.781 MB / 0.5267 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.213, allocations: 0.6522 MB / 0.5273 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.2131, allocations: 24.98 kB / 0.5273 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.2131, allocations: 47.5 kB / 0.5274 GB, free: 1.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 2.624e-06/0.2131, allocations: 4 kB / 0.5274 GB, free: 1.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.02074/0.2339, allocations: 7.595 MB / 0.5348 GB, free: 9.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005448/0.2394, allocations: 3.881 MB / 0.5386 GB, free: 5.523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.241, allocations: 1.094 MB / 0.5396 GB, free: 4.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003751/0.2413, allocations: 49.7 kB / 0.5397 GB, free: 4.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008723/0.2422, allocations: 0.9279 MB / 0.5406 GB, free: 3.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000652/0.2429, allocations: 0.493 MB / 0.5411 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006681/0.2436, allocations: 440.2 kB / 0.5415 GB, free: 2.469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2437, allocations: 350 kB / 0.5418 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.2454, allocations: 0.9182 MB / 0.5427 GB, free: 1.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/0.2481, allocations: 1.875 MB / 0.5446 GB, free: 14.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004398/0.2525, allocations: 2.943 MB / 0.5474 GB, free: 11.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.2525, allocations: 12 kB / 0.5474 GB, free: 11.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009254/0.2618, allocations: 3.696 MB / 0.5511 GB, free: 7.742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.2619, allocations: 25.81 kB / 0.5511 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.267e-05/0.2619, allocations: 35.94 kB / 0.5511 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004497/0.2664, allocations: 0.9858 MB / 0.5521 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/0.2696, allocations: 0.5537 MB / 0.5526 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.2807, allocations: 6.246 MB / 0.5587 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.2835, allocations: 235.5 kB / 0.5589 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004983/0.284, allocations: 120 kB / 0.5591 GB, free: 15.34 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.00148/0.2855, allocations: 0.5608 MB / 0.5596 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/0.286, allocations: 126.5 kB / 0.5597 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008618/0.2946, allocations: 2.871 MB / 0.5625 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007434/0.3021, allocations: 2.488 MB / 0.565 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.744e-05/0.3022, allocations: 7.984 kB / 0.565 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/0.3022, allocations: 7.984 kB / 0.565 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/0.3183, allocations: 6.09 MB / 0.5709 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/0.3184, allocations: 12.12 kB / 0.5709 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/0.3203, allocations: 275.6 kB / 0.5712 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005435/0.3258, allocations: 1.199 MB / 0.5724 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003883/0.3262, allocations: 39.97 kB / 0.5724 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009767/0.336, allocations: 5.974 MB / 0.5782 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005338/0.3414, allocations: 3.754 MB / 0.5819 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/0.3521, allocations: 4.33 MB / 0.5861 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/0.3528, allocations: 215.8 kB / 0.5863 GB, free: 2.551 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/0.3533, allocations: 47.86 kB / 0.5864 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/0.3551, allocations: 139.7 kB / 0.5865 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004187/0.3555, allocations: 112.7 kB / 0.5866 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.3557, allocations: 51.98 kB / 0.5867 GB, free: 2.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001228/0.3569, allocations: 0.6962 MB / 0.5874 GB, free: 1.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3569, allocations: 0 / 0.5874 GB, free: 1.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002873/0.3598, allocations: 0.5781 MB / 0.5879 GB, free: 0.9219 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.0003309/0.3602, allocations: 155.2 kB / 0.5881 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2404/0.6006, allocations: 2.65 MB / 0.5907 GB, free: 98.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.6006, allocations: 5.25 kB / 0.5907 GB, free: 98.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00408/0.6047, allocations: 1.382 MB / 0.592 GB, free: 98.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.6078, allocations: 386.5 kB / 0.5924 GB, free: 98.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008881/0.6167, allocations: 4.646 MB / 0.5969 GB, free: 96.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/0.6187, allocations: 1.419 MB / 0.5983 GB, free: 95.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002597/0.6213, allocations: 456.5 kB / 0.5987 GB, free: 95.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007148/0.622, allocations: 113.6 kB / 0.5988 GB, free: 95.82 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6221, allocations: 0 / 0.5988 GB, free: 95.82 MB / 462.1 MB Notification: Performance of Templates: time 0.04074/0.6628, allocations: 27.76 MB / 0.626 GB, free: 77.71 MB / 462.1 MB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile (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)