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: "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 101.5 kB / 16.27 MB, free: 5.969 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.001127/0.001127, allocations: 193.4 kB / 17.2 MB, free: 5.598 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.186/1.186, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3201/0.3201, allocations: 64.92 MB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 68.19 kB / 430.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 63.54 MB / 494.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007458/0.1117, allocations: 7.38 MB / 0.4898 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005214/0.1169, allocations: 4.384 MB / 0.4941 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.1177, allocations: 15.94 kB / 0.4941 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.119, allocations: 0.5475 MB / 0.4946 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.1205, allocations: 0.7103 MB / 0.4953 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00095/0.1215, allocations: 0.5189 MB / 0.4958 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002271/0.1238, allocations: 2.458 MB / 0.4982 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006931/0.1245, allocations: 0.7351 MB / 0.4989 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007065/0.1252, allocations: 0.8646 MB / 0.4998 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.1262, allocations: 1.051 MB / 0.5008 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.1265, allocations: 208 kB / 0.501 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.1268, allocations: 204 kB / 0.5012 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006434/0.1275, allocations: 0.7988 MB / 0.502 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.1285, allocations: 1.089 MB / 0.5031 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1739/0.3024, allocations: 3.009 MB / 0.506 GB, free: 16.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3024, allocations: 0.9375 kB / 0.506 GB, free: 16.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3024, allocations: 0 / 0.506 GB, free: 16.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.3025, allocations: 0 / 0.506 GB, free: 16.5 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.003602/0.3061, allocations: 2.158 MB / 0.5081 GB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3061, allocations: 13.66 kB / 0.5081 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003107/0.3064, allocations: 299.4 kB / 0.5084 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.3067, allocations: 204.1 kB / 0.5086 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.3076, allocations: 0.7471 MB / 0.5093 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.3076, allocations: 149 kB / 0.5095 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006356/0.3083, allocations: 269.2 kB / 0.5097 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/0.3116, allocations: 2.729 MB / 0.5124 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.3116, allocations: 9.406 kB / 0.5124 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.3118, allocations: 83.92 kB / 0.5125 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.312, allocations: 155.8 kB / 0.5126 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/0.315, allocations: 2.174 MB / 0.5147 GB, free: 14.14 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.008475/0.3235, allocations: 10.86 MB / 0.5253 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.3252, allocations: 2.782 MB / 0.5281 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008712/0.3261, allocations: 0.6468 MB / 0.5287 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.853e-05/0.3262, allocations: 28.59 kB / 0.5287 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3262, allocations: 52.7 kB / 0.5288 GB, free: 3.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 2.384e-06/0.3262, allocations: 0 / 0.5288 GB, free: 3.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01728/0.3435, allocations: 7.612 MB / 0.5362 GB, free: 14.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003893/0.3474, allocations: 4.103 MB / 0.5402 GB, free: 10.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.3486, allocations: 1.088 MB / 0.5413 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/0.3487, allocations: 51.77 kB / 0.5413 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/0.3492, allocations: 0.9315 MB / 0.5422 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.3496, allocations: 0.4929 MB / 0.5427 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005971/0.3502, allocations: 439.2 kB / 0.5431 GB, free: 8.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.3503, allocations: 347.6 kB / 0.5435 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.3517, allocations: 0.9153 MB / 0.5444 GB, free: 7.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.3534, allocations: 1.882 MB / 0.5462 GB, free: 6.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/0.3566, allocations: 2.944 MB / 0.5491 GB, free: 3.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.3566, allocations: 10.22 kB / 0.5491 GB, free: 3.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00772/0.3644, allocations: 3.708 MB / 0.5527 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.3644, allocations: 20.22 kB / 0.5527 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/0.3644, allocations: 36 kB / 0.5528 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004284/0.3687, allocations: 0.9834 MB / 0.5537 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/0.3714, allocations: 0.5542 MB / 0.5543 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.3815, allocations: 6.675 MB / 0.5608 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.3832, allocations: 159.8 kB / 0.5609 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.3834, allocations: 125.8 kB / 0.5611 GB, free: 8.207 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.0007796/0.3842, allocations: 0.572 MB / 0.5616 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.3845, allocations: 138.3 kB / 0.5617 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/0.3917, allocations: 2.864 MB / 0.5645 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006441/0.3981, allocations: 2.481 MB / 0.567 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.3982, allocations: 4 kB / 0.567 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.3982, allocations: 15.62 kB / 0.567 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/0.4102, allocations: 6.071 MB / 0.5729 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4102, allocations: 7.141 kB / 0.5729 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.412, allocations: 286.7 kB / 0.5732 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005057/0.417, allocations: 1.203 MB / 0.5744 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.4171, allocations: 35.98 kB / 0.5744 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008566/0.4257, allocations: 6.322 MB / 0.5806 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004038/0.4298, allocations: 3.983 MB / 0.5845 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008153/0.4379, allocations: 4.339 MB / 0.5887 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.4382, allocations: 223.5 kB / 0.5889 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.4384, allocations: 32 kB / 0.5889 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.4396, allocations: 79.91 kB / 0.589 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.4399, allocations: 116.7 kB / 0.5891 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.362e-05/0.44, allocations: 47.98 kB / 0.5892 GB, free: 10.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007107/0.4407, allocations: 0.7039 MB / 0.5899 GB, free: 10.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4407, allocations: 0 / 0.5899 GB, free: 10.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001703/0.4424, allocations: 0.5585 MB / 0.5904 GB, free: 9.469 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.008454/0.4509, allocations: 4.935 MB / 0.5952 GB, free: 4.434 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006377/0.4573, allocations: 2.913 MB / 0.5981 GB, free: 1.512 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4573, allocations: 4.438 kB / 0.5981 GB, free: 1.508 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003446/0.4607, allocations: 1.389 MB / 0.5994 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.4628, allocations: 414.4 kB / 0.5998 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02681/0.4896, allocations: 18.56 MB / 0.618 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000954/0.4905, allocations: 1.415 MB / 0.6193 GB, free: 9.957 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001422/0.492, allocations: 452.7 kB / 0.6198 GB, free: 9.508 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007992/0.4928, allocations: 0.6515 MB / 0.6204 GB, free: 8.855 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4928, allocations: 4 kB / 0.6204 GB, free: 8.852 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.397/2.89, allocations: 42.39 MB / 0.6618 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/16.01, allocations: 7.969 kB / 0.6618 GB, free: 14.76 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1)