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.001039/0.001043, allocations: 104.5 kB / 15.98 MB, free: 6.332 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.001153/0.001153, allocations: 197 kB / 16.91 MB, free: 6.18 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.274/1.274, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.341/0.341, allocations: 64.93 MB / 355.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 67.42 kB / 430.1 MB, free: 5.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1382, allocations: 63.54 MB / 493.7 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009678/0.1479, allocations: 7.418 MB / 0.4893 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006677/0.1546, allocations: 4.353 MB / 0.4936 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.1561, allocations: 8 kB / 0.4936 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.158, allocations: 0.4975 MB / 0.4941 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.1602, allocations: 0.6525 MB / 0.4947 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1614, allocations: 491.5 kB / 0.4952 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003179/0.1646, allocations: 2.458 MB / 0.4976 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.1657, allocations: 0.7545 MB / 0.4983 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.1668, allocations: 0.8607 MB / 0.4992 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.1683, allocations: 1.121 MB / 0.5002 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.1686, allocations: 204 kB / 0.5004 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.1689, allocations: 204 kB / 0.5006 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006732/0.1696, allocations: 0.8065 MB / 0.5014 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.1707, allocations: 1.093 MB / 0.5025 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2597/0.4305, allocations: 3.011 MB / 0.5054 GB, free: 16.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.4305, allocations: 0.5312 kB / 0.5054 GB, free: 16.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4305, allocations: 0.625 kB / 0.5054 GB, free: 16.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001107/0.4306, allocations: 0 / 0.5054 GB, free: 16.32 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.005829/0.4365, allocations: 2.155 MB / 0.5075 GB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4366, allocations: 13.47 kB / 0.5076 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004328/0.437, allocations: 301.8 kB / 0.5078 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004228/0.4374, allocations: 195.6 kB / 0.508 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.4387, allocations: 0.7482 MB / 0.5088 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.4388, allocations: 149 kB / 0.5089 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007741/0.4396, allocations: 275.3 kB / 0.5092 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/0.444, allocations: 2.726 MB / 0.5118 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.4441, allocations: 6.734 kB / 0.5118 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.4443, allocations: 83.19 kB / 0.5119 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/0.4445, allocations: 155.8 kB / 0.5121 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/0.4484, allocations: 2.176 MB / 0.5142 GB, free: 14.01 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.0114/0.4598, allocations: 10.81 MB / 0.5247 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.4619, allocations: 2.779 MB / 0.5275 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009978/0.4629, allocations: 0.653 MB / 0.5281 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.463, allocations: 24.28 kB / 0.5281 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.463, allocations: 59.86 kB / 0.5282 GB, free: 3.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.066e-06/0.463, allocations: 1.25 kB / 0.5282 GB, free: 3.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.02032/0.4834, allocations: 7.601 MB / 0.5356 GB, free: 14.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004909/0.4883, allocations: 4.092 MB / 0.5396 GB, free: 10.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.4899, allocations: 1.096 MB / 0.5407 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003358/0.4902, allocations: 47.67 kB / 0.5407 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005472/0.4908, allocations: 0.9316 MB / 0.5416 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.4912, allocations: 0.4994 MB / 0.5421 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006574/0.4919, allocations: 442.4 kB / 0.5425 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.492, allocations: 343.6 kB / 0.5429 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.4935, allocations: 0.9129 MB / 0.5437 GB, free: 7.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.4955, allocations: 1.883 MB / 0.5456 GB, free: 6.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.4989, allocations: 2.95 MB / 0.5485 GB, free: 3.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.4989, allocations: 11.78 kB / 0.5485 GB, free: 3.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008224/0.5072, allocations: 3.698 MB / 0.5521 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.5072, allocations: 20 kB / 0.5521 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.506e-05/0.5073, allocations: 35.98 kB / 0.5521 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004183/0.5115, allocations: 0.9852 MB / 0.5531 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/0.5143, allocations: 0.5563 MB / 0.5536 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.5248, allocations: 6.68 MB / 0.5602 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/0.5276, allocations: 231.5 kB / 0.5604 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.5279, allocations: 124 kB / 0.5605 GB, free: 8.316 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.001118/0.529, allocations: 0.5596 MB / 0.5611 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.5293, allocations: 126.4 kB / 0.5612 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/0.5369, allocations: 2.859 MB / 0.564 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006669/0.5436, allocations: 2.491 MB / 0.5664 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.5436, allocations: 4 kB / 0.5664 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.5437, allocations: 7.969 kB / 0.5664 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.5576, allocations: 6.081 MB / 0.5724 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.5577, allocations: 12.09 kB / 0.5724 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/0.5597, allocations: 279.5 kB / 0.5726 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005571/0.5653, allocations: 1.207 MB / 0.5738 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/0.5656, allocations: 39.98 kB / 0.5738 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009622/0.5752, allocations: 6.32 MB / 0.58 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005317/0.5805, allocations: 3.964 MB / 0.5839 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009475/0.5901, allocations: 4.345 MB / 0.5881 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/0.5907, allocations: 215.7 kB / 0.5883 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.5909, allocations: 42.17 kB / 0.5884 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.5924, allocations: 131.6 kB / 0.5885 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.5927, allocations: 125 kB / 0.5886 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.5928, allocations: 47.98 kB / 0.5887 GB, free: 10.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008938/0.5937, allocations: 0.7039 MB / 0.5894 GB, free: 9.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5937, allocations: 0 / 0.5894 GB, free: 9.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002357/0.5961, allocations: 0.582 MB / 0.5899 GB, free: 9.395 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.009391/0.6055, allocations: 4.925 MB / 0.5947 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007252/0.6128, allocations: 2.918 MB / 0.5976 GB, free: 1.438 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.6128, allocations: 1.859 kB / 0.5976 GB, free: 1.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003605/0.6164, allocations: 1.393 MB / 0.5989 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.6188, allocations: 408.1 kB / 0.5993 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/0.6515, allocations: 19.3 MB / 0.6182 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.6528, allocations: 1.419 MB / 0.6196 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001815/0.6546, allocations: 452.7 kB / 0.62 GB, free: 8.695 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/0.6555, allocations: 0.6476 MB / 0.6206 GB, free: 8.047 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6555, allocations: 0 / 0.6206 GB, free: 8.047 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07754/0.7331, allocations: 42.3 MB / 0.6619 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.7333, allocations: 237.1 kB / 0.6622 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/3.626, allocations: 0 / 0.6622 GB, free: 13.86 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)