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.001396/0.001396, allocations: 101 kB / 15.98 MB, free: 5.91 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.001552/0.001552, allocations: 191.7 kB / 16.91 MB, free: 5.758 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5064/0.5064, allocations: 64.93 MB / 355.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.8 kB / 430 MB, free: 39.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1357, allocations: 63.54 MB / 493.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008373/0.1441, allocations: 7.427 MB / 0.4892 GB, free: 9.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006697/0.1509, allocations: 4.353 MB / 0.4935 GB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.1521, allocations: 11.94 kB / 0.4935 GB, free: 5.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.1536, allocations: 0.4975 MB / 0.494 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.1557, allocations: 0.6603 MB / 0.4946 GB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.1569, allocations: 491.5 kB / 0.4951 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.16, allocations: 2.466 MB / 0.4975 GB, free: 1.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.1611, allocations: 0.7384 MB / 0.4982 GB, free: 0.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.1623, allocations: 0.8607 MB / 0.4991 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.1637, allocations: 1.129 MB / 0.5002 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.1639, allocations: 208 kB / 0.5004 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.1643, allocations: 200 kB / 0.5006 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005921/0.1649, allocations: 0.7988 MB / 0.5013 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.1659, allocations: 1.085 MB / 0.5024 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.1684, allocations: 3.026 MB / 0.5054 GB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1684, allocations: 0 / 0.5054 GB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1684, allocations: 4 kB / 0.5054 GB, free: 9.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.778e-05/0.1684, allocations: 0 / 0.5054 GB, free: 9.383 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.0047/0.1731, allocations: 2.151 MB / 0.5075 GB, free: 7.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1732, allocations: 11.97 kB / 0.5075 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.1736, allocations: 194.6 kB / 0.5077 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.1748, allocations: 0.7551 MB / 0.5084 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.1749, allocations: 148.3 kB / 0.5085 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007478/0.1756, allocations: 268.6 kB / 0.5088 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004553/0.1802, allocations: 2.727 MB / 0.5115 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.1803, allocations: 7.938 kB / 0.5115 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.1804, allocations: 83.98 kB / 0.5115 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.1807, allocations: 155.4 kB / 0.5117 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.1844, allocations: 2.176 MB / 0.5138 GB, free: 440 kB / 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.01411/0.1985, allocations: 10.81 MB / 0.5244 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.2013, allocations: 2.787 MB / 0.5271 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.2025, allocations: 0.6496 MB / 0.5277 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.2026, allocations: 28.98 kB / 0.5278 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2027, allocations: 47.56 kB / 0.5278 GB, free: 1.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.647e-06/0.2027, allocations: 3.938 kB / 0.5278 GB, free: 1.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.02036/0.223, allocations: 7.59 MB / 0.5352 GB, free: 9.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00569/0.2288, allocations: 4.105 MB / 0.5392 GB, free: 4.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.2305, allocations: 1.094 MB / 0.5403 GB, free: 3.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003911/0.2309, allocations: 45.7 kB / 0.5403 GB, free: 3.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/0.2316, allocations: 0.9279 MB / 0.5412 GB, free: 2.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006187/0.2322, allocations: 0.5048 MB / 0.5417 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006768/0.2329, allocations: 444.2 kB / 0.5422 GB, free: 1.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.233, allocations: 341.9 kB / 0.5425 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.2347, allocations: 0.9103 MB / 0.5434 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.2371, allocations: 1.886 MB / 0.5452 GB, free: 14.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/0.241, allocations: 2.947 MB / 0.5481 GB, free: 10.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.241, allocations: 8 kB / 0.5481 GB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008565/0.2496, allocations: 3.704 MB / 0.5517 GB, free: 7.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/0.2497, allocations: 17.72 kB / 0.5517 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-05/0.2498, allocations: 39.98 kB / 0.5518 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004439/0.2542, allocations: 0.9859 MB / 0.5527 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/0.2572, allocations: 0.5577 MB / 0.5533 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.2685, allocations: 6.665 MB / 0.5598 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.2714, allocations: 219.5 kB / 0.56 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.2716, allocations: 128 kB / 0.5601 GB, free: 14.3 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.001095/0.2728, allocations: 0.5647 MB / 0.5607 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.2731, allocations: 130.4 kB / 0.5608 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007802/0.2809, allocations: 2.859 MB / 0.5636 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006835/0.2878, allocations: 2.495 MB / 0.566 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.2878, allocations: 7.938 kB / 0.566 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/0.2879, allocations: 12.06 kB / 0.566 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.3018, allocations: 6.086 MB / 0.572 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.3019, allocations: 8 kB / 0.572 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.3039, allocations: 280.2 kB / 0.5723 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005503/0.3094, allocations: 1.207 MB / 0.5734 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005052/0.3099, allocations: 35.98 kB / 0.5735 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.3207, allocations: 6.318 MB / 0.5797 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005243/0.326, allocations: 3.971 MB / 0.5835 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009794/0.3358, allocations: 4.341 MB / 0.5878 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005956/0.3365, allocations: 215.5 kB / 0.588 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/0.3367, allocations: 35.98 kB / 0.588 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.3382, allocations: 139.7 kB / 0.5881 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/0.3386, allocations: 112.7 kB / 0.5882 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.3387, allocations: 51.98 kB / 0.5883 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.3341/0.6728, allocations: 0.6991 MB / 0.589 GB, free: 96.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6729, allocations: 0 / 0.589 GB, free: 96.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003805/0.6767, allocations: 0.5809 MB / 0.5895 GB, free: 96.57 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.0003414/0.677, allocations: 143.8 kB / 0.5897 GB, free: 96.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007903/0.685, allocations: 2.917 MB / 0.5925 GB, free: 96.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.685, allocations: 0 / 0.5925 GB, free: 96.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003954/0.689, allocations: 1.392 MB / 0.5939 GB, free: 96.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.6918, allocations: 411 kB / 0.5943 GB, free: 96.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008738/0.7006, allocations: 4.643 MB / 0.5988 GB, free: 93.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.7023, allocations: 1.419 MB / 0.6002 GB, free: 93.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002186/0.7045, allocations: 457.3 kB / 0.6006 GB, free: 93.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.705, allocations: 111.6 kB / 0.6007 GB, free: 93.12 MB / 462.1 MB Notification: Performance of SimCode: time 2.074e-06/0.705, allocations: 0 / 0.6007 GB, free: 93.12 MB / 462.1 MB Notification: Performance of Templates: time 0.04255/0.7476, allocations: 29.05 MB / 0.6291 GB, free: 73.69 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)