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.001279/0.00128, allocations: 114 kB / 17.08 MB, free: 6.012 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.001085/0.001085, allocations: 196.1 kB / 18.02 MB, free: 5.094 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.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3618/0.3618, allocations: 64.92 MB / 356.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.89 kB / 495.9 MB, free: 4.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3281, allocations: 63.55 MB / 0.5464 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009107/0.3372, allocations: 7.373 MB / 0.5536 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006267/0.3435, allocations: 4.378 MB / 0.5579 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.3446, allocations: 11.94 kB / 0.5579 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.3464, allocations: 0.5592 MB / 0.5584 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.3484, allocations: 0.7025 MB / 0.5591 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.3498, allocations: 0.5267 MB / 0.5596 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00361/0.3534, allocations: 2.454 MB / 0.562 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.3548, allocations: 0.7537 MB / 0.5627 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.3566, allocations: 0.853 MB / 0.5636 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.3587, allocations: 1.051 MB / 0.5646 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005871/0.3593, allocations: 208 kB / 0.5648 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007367/0.3601, allocations: 207.9 kB / 0.565 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.3611, allocations: 0.7949 MB / 0.5658 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.363, allocations: 1.089 MB / 0.5668 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.3663, allocations: 3.072 MB / 0.5698 GB, free: 9.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3663, allocations: 0 / 0.5698 GB, free: 9.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.3663, allocations: 0 / 0.5698 GB, free: 9.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.369e-05/0.3664, allocations: 7.938 kB / 0.5698 GB, free: 9.203 MB / 430.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.00433/0.3707, allocations: 2.155 MB / 0.572 GB, free: 6.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3708, allocations: 15.97 kB / 0.572 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003376/0.3711, allocations: 190.7 kB / 0.5721 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.3722, allocations: 0.7512 MB / 0.5729 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/0.3723, allocations: 148.3 kB / 0.573 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007061/0.373, allocations: 272.6 kB / 0.5733 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004077/0.3771, allocations: 2.731 MB / 0.576 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.3772, allocations: 7.938 kB / 0.576 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.3774, allocations: 87.98 kB / 0.576 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.3776, allocations: 151.5 kB / 0.5762 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.3811, allocations: 2.168 MB / 0.5783 GB, free: 256 kB / 430.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.01189/0.393, allocations: 10.8 MB / 0.5889 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.3957, allocations: 2.782 MB / 0.5916 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.3968, allocations: 0.6327 MB / 0.5922 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.891e-05/0.3969, allocations: 28.98 kB / 0.5922 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3969, allocations: 51.56 kB / 0.5923 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.096e-06/0.397, allocations: 0 / 0.5923 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.0202/0.4172, allocations: 7.587 MB / 0.5997 GB, free: 9.223 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004645/0.4218, allocations: 4.113 MB / 0.6037 GB, free: 4.758 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.4232, allocations: 1.086 MB / 0.6048 GB, free: 3.648 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/0.4235, allocations: 45.7 kB / 0.6048 GB, free: 3.598 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005798/0.4241, allocations: 0.9356 MB / 0.6057 GB, free: 2.645 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/0.4247, allocations: 0.4931 MB / 0.6062 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007064/0.4254, allocations: 440.2 kB / 0.6066 GB, free: 1.707 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4255, allocations: 345.9 kB / 0.6069 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.4271, allocations: 0.9103 MB / 0.6078 GB, free: 460 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.4293, allocations: 1.875 MB / 0.6097 GB, free: 14.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004104/0.4335, allocations: 2.959 MB / 0.6126 GB, free: 10.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/0.4335, allocations: 8 kB / 0.6126 GB, free: 10.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00903/0.4425, allocations: 3.696 MB / 0.6162 GB, free: 6.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.4426, allocations: 24.03 kB / 0.6162 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.204e-05/0.4427, allocations: 32 kB / 0.6162 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004673/0.4474, allocations: 0.9881 MB / 0.6172 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/0.4505, allocations: 0.5577 MB / 0.6177 GB, free: 5.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.4622, allocations: 6.663 MB / 0.6242 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.4644, allocations: 167.8 kB / 0.6244 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/0.4648, allocations: 124 kB / 0.6245 GB, free: 14.23 MB / 494.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.001112/0.4659, allocations: 0.5603 MB / 0.6251 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.4663, allocations: 130.4 kB / 0.6252 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00812/0.4744, allocations: 2.859 MB / 0.628 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007201/0.4816, allocations: 2.488 MB / 0.6304 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/0.4817, allocations: 11.94 kB / 0.6304 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.4817, allocations: 7.969 kB / 0.6304 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.4959, allocations: 6.084 MB / 0.6364 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/0.496, allocations: 8 kB / 0.6364 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/0.498, allocations: 275.6 kB / 0.6366 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005643/0.5037, allocations: 1.195 MB / 0.6378 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002668/0.504, allocations: 43.97 kB / 0.6378 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.5142, allocations: 6.31 MB / 0.644 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004884/0.5191, allocations: 3.971 MB / 0.6479 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009985/0.5292, allocations: 4.343 MB / 0.6521 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.5296, allocations: 219.4 kB / 0.6523 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.53, allocations: 39.98 kB / 0.6524 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.5315, allocations: 79.91 kB / 0.6525 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/0.5319, allocations: 108.7 kB / 0.6526 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.532, allocations: 51.97 kB / 0.6526 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001094/0.5331, allocations: 0.7039 MB / 0.6533 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5331, allocations: 0 / 0.6533 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002577/0.5357, allocations: 0.5586 MB / 0.6538 GB, free: 15.3 MB / 0.5137 GB 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.0003292/0.536, allocations: 143.3 kB / 0.654 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006725/0.5428, allocations: 2.67 MB / 0.6566 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.5428, allocations: 4 kB / 0.6566 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003999/0.5468, allocations: 1.407 MB / 0.658 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.5493, allocations: 411.9 kB / 0.6584 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007476/0.5568, allocations: 3.938 MB / 0.6622 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.5582, allocations: 1.423 MB / 0.6636 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/0.5588, allocations: 127.4 kB / 0.6637 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of SimCode: time 9.91e-07/0.5588, allocations: 0 / 0.6637 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of Templates: time 0.05692/0.6157, allocations: 50.91 MB / 0.7134 GB, free: 2.062 MB / 0.5606 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)