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.001321/0.001321, allocations: 102.6 kB / 16.63 MB, free: 6.816 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.001487/0.001487, allocations: 190 kB / 17.57 MB, free: 5.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.302/1.302, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.345/0.345, allocations: 64.93 MB / 356.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 59.69 kB / 430.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1151, allocations: 63.54 MB / 494.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007943/0.1231, allocations: 7.434 MB / 0.4899 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005858/0.129, allocations: 4.345 MB / 0.4941 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.1301, allocations: 11.94 kB / 0.4941 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.1315, allocations: 0.5014 MB / 0.4946 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.1333, allocations: 0.6486 MB / 0.4953 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.1344, allocations: 495.5 kB / 0.4957 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003054/0.1375, allocations: 2.462 MB / 0.4981 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009978/0.1385, allocations: 0.7422 MB / 0.4989 GB, free: 5.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.1398, allocations: 0.8647 MB / 0.4997 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.1412, allocations: 1.125 MB / 0.5008 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.1415, allocations: 204 kB / 0.501 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.1419, allocations: 204 kB / 0.5012 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006477/0.1425, allocations: 0.7988 MB / 0.502 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.1436, allocations: 1.097 MB / 0.503 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1992/0.3428, allocations: 2.464 MB / 0.5054 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3428, allocations: 1.031 kB / 0.5054 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3428, allocations: 0 / 0.5054 GB, free: 16.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.899e-05/0.3429, allocations: 0 / 0.5054 GB, free: 16.64 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.004719/0.3476, allocations: 2.163 MB / 0.5076 GB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3477, allocations: 10.16 kB / 0.5076 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.3481, allocations: 195.9 kB / 0.5078 GB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.3492, allocations: 0.7439 MB / 0.5085 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.445e-05/0.3493, allocations: 154.3 kB / 0.5086 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007456/0.3501, allocations: 270.1 kB / 0.5089 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004163/0.3543, allocations: 2.736 MB / 0.5116 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.3543, allocations: 6.75 kB / 0.5116 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.3545, allocations: 80.7 kB / 0.5116 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/0.3547, allocations: 152 kB / 0.5118 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.3583, allocations: 2.182 MB / 0.5139 GB, free: 14.18 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.01108/0.3694, allocations: 10.8 MB / 0.5245 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.372, allocations: 2.782 MB / 0.5272 GB, free: 3.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.3731, allocations: 0.6452 MB / 0.5278 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.3733, allocations: 23.16 kB / 0.5278 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3733, allocations: 57.12 kB / 0.5279 GB, free: 3.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.597e-06/0.3733, allocations: 0 / 0.5279 GB, free: 3.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.02043/0.3938, allocations: 7.608 MB / 0.5353 GB, free: 15.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005111/0.3989, allocations: 4.102 MB / 0.5393 GB, free: 11.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.4004, allocations: 1.086 MB / 0.5404 GB, free: 10.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003499/0.4008, allocations: 48.36 kB / 0.5404 GB, free: 10.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/0.4013, allocations: 0.9343 MB / 0.5413 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/0.4019, allocations: 0.4944 MB / 0.5418 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007036/0.4026, allocations: 438.3 kB / 0.5422 GB, free: 9.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4028, allocations: 347.2 kB / 0.5426 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.4043, allocations: 0.9155 MB / 0.5435 GB, free: 8.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.4065, allocations: 1.881 MB / 0.5453 GB, free: 6.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003855/0.4104, allocations: 2.945 MB / 0.5482 GB, free: 4.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/0.4104, allocations: 10.34 kB / 0.5482 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009486/0.4199, allocations: 3.705 MB / 0.5518 GB, free: 1.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/0.42, allocations: 20 kB / 0.5518 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.037e-05/0.4201, allocations: 36.12 kB / 0.5519 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004757/0.4248, allocations: 0.9848 MB / 0.5528 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.428, allocations: 0.5555 MB / 0.5534 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.4399, allocations: 6.673 MB / 0.5599 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/0.4428, allocations: 231.5 kB / 0.5601 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/0.4431, allocations: 120 kB / 0.5602 GB, free: 8.812 MB / 414.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.001077/0.4442, allocations: 0.5669 MB / 0.5608 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.4446, allocations: 130.8 kB / 0.5609 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008195/0.4528, allocations: 2.856 MB / 0.5637 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007994/0.4608, allocations: 2.499 MB / 0.5661 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.622e-05/0.4609, allocations: 4 kB / 0.5661 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-05/0.461, allocations: 7.969 kB / 0.5661 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.4774, allocations: 6.083 MB / 0.5721 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/0.4775, allocations: 8 kB / 0.5721 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/0.4797, allocations: 284 kB / 0.5724 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005702/0.4854, allocations: 1.189 MB / 0.5735 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003785/0.4858, allocations: 47.97 kB / 0.5736 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.4962, allocations: 6.319 MB / 0.5797 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005482/0.5017, allocations: 3.974 MB / 0.5836 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/0.5126, allocations: 4.343 MB / 0.5879 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006914/0.5133, allocations: 215.4 kB / 0.5881 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005517/0.5139, allocations: 36 kB / 0.5881 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/0.516, allocations: 143.7 kB / 0.5882 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/0.5164, allocations: 116.7 kB / 0.5883 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/0.5166, allocations: 43.98 kB / 0.5884 GB, free: 11.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.5178, allocations: 0.7079 MB / 0.5891 GB, free: 10.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.5178, allocations: 0 / 0.5891 GB, free: 10.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00325/0.5211, allocations: 0.582 MB / 0.5896 GB, free: 9.879 MB / 446.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.0003644/0.5215, allocations: 140.8 kB / 0.5898 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008043/0.5295, allocations: 2.919 MB / 0.5926 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.5296, allocations: 0 / 0.5926 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003991/0.5336, allocations: 1.398 MB / 0.594 GB, free: 5.398 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.5365, allocations: 391.8 kB / 0.5944 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008597/0.5452, allocations: 4.761 MB / 0.599 GB, free: 140 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.5468, allocations: 1.418 MB / 0.6004 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000727/0.5475, allocations: 127.4 kB / 0.6005 GB, free: 14.57 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5475, allocations: 0 / 0.6005 GB, free: 14.57 MB / 462.1 MB Notification: Performance of Templates: time 0.05922/0.6067, allocations: 50.66 MB / 0.65 GB, free: 11.91 MB / 0.4981 GB 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)