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.001257/0.001257, allocations: 96.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.00129, allocations: 175.3 kB / 16.57 MB, free: 6.801 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.372/1.372, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4937/0.4937, allocations: 64.89 MB / 356.5 MB, free: 5.059 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 6.719 kB / 431.9 MB, free: 39.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 64.87 MB / 496.8 MB, free: 16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.00636/0.1309, allocations: 5.887 MB / 0.4909 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006019/0.1369, allocations: 4.061 MB / 0.4949 GB, free: 6.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.1379, allocations: 11.94 kB / 0.4949 GB, free: 6.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.1396, allocations: 434 kB / 0.4953 GB, free: 5.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.1412, allocations: 0.5375 MB / 0.4958 GB, free: 5.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009811/0.1422, allocations: 311.5 kB / 0.4961 GB, free: 4.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.1446, allocations: 1.405 MB / 0.4975 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00093/0.1455, allocations: 0.5964 MB / 0.4981 GB, free: 2.715 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009227/0.1465, allocations: 0.6114 MB / 0.4987 GB, free: 2.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.1476, allocations: 0.7865 MB / 0.4994 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.1477, allocations: 80 kB / 0.4995 GB, free: 1.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.148, allocations: 76 kB / 0.4996 GB, free: 1.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005592/0.1485, allocations: 0.6507 MB / 0.5002 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.1489, allocations: 408.8 kB / 0.5006 GB, free: 104 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.1511, allocations: 2.392 MB / 0.503 GB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1511, allocations: 4 kB / 0.503 GB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1511, allocations: 0 / 0.503 GB, free: 13.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.743e-05/0.1511, allocations: 0 / 0.503 GB, free: 13.7 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.004276/0.1554, allocations: 1.846 MB / 0.5048 GB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1555, allocations: 8.031 kB / 0.5048 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004116/0.1559, allocations: 295.9 kB / 0.505 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003964/0.1563, allocations: 189.8 kB / 0.5052 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.1577, allocations: 0.7346 MB / 0.5059 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.1578, allocations: 148 kB / 0.5061 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007097/0.1585, allocations: 271.9 kB / 0.5063 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.1626, allocations: 2.708 MB / 0.509 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.1626, allocations: 11.88 kB / 0.509 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.1628, allocations: 83.98 kB / 0.5091 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.163, allocations: 155.4 kB / 0.5092 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003814/0.1668, allocations: 2.172 MB / 0.5114 GB, free: 4.793 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.01344/0.1803, allocations: 10.81 MB / 0.5219 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.1831, allocations: 2.782 MB / 0.5246 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.261e-05/0.1832, allocations: 20.92 kB / 0.5246 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.1832, allocations: 47.56 kB / 0.5247 GB, free: 6.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.437e-06/0.1832, allocations: 3.938 kB / 0.5247 GB, free: 6.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.0202/0.2034, allocations: 7.636 MB / 0.5322 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007666/0.2112, allocations: 4.108 MB / 0.5362 GB, free: 9.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.2133, allocations: 1.079 MB / 0.5372 GB, free: 8.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003791/0.2137, allocations: 53.7 kB / 0.5373 GB, free: 8.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008449/0.2146, allocations: 0.9318 MB / 0.5382 GB, free: 7.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/0.2154, allocations: 0.4931 MB / 0.5387 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.2155, allocations: 48 kB / 0.5387 GB, free: 7.246 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000302/0.2158, allocations: 439.5 kB / 0.5391 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/0.2182, allocations: 0.9142 MB / 0.54 GB, free: 5.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003295/0.2215, allocations: 1.866 MB / 0.5418 GB, free: 3.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.2246, allocations: 1.252 MB / 0.5431 GB, free: 2.316 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/0.2246, allocations: 12 kB / 0.5431 GB, free: 2.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01206/0.2367, allocations: 3.699 MB / 0.5467 GB, free: 14.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.028e-05/0.2368, allocations: 26.14 kB / 0.5467 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.46e-05/0.2369, allocations: 32 kB / 0.5467 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006793/0.2437, allocations: 1.014 MB / 0.5477 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/0.2483, allocations: 0.5616 MB / 0.5483 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/0.2642, allocations: 6.467 MB / 0.5546 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.2668, allocations: 231.6 kB / 0.5548 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/0.2671, allocations: 120 kB / 0.5549 GB, free: 5.949 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 15} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001068/0.2682, allocations: 0.5569 MB / 0.5555 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.2685, allocations: 130.4 kB / 0.5556 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007941/0.2765, allocations: 2.887 MB / 0.5584 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007107/0.2836, allocations: 2.507 MB / 0.5609 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.2837, allocations: 4 kB / 0.5609 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.2837, allocations: 11.97 kB / 0.5609 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.2979, allocations: 6.066 MB / 0.5668 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.2979, allocations: 4 kB / 0.5668 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/0.2998, allocations: 292.2 kB / 0.5671 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005632/0.3055, allocations: 1.227 MB / 0.5683 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.3057, allocations: 47.91 kB / 0.5683 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009474/0.3152, allocations: 6.17 MB / 0.5744 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2953/0.6106, allocations: 3.994 MB / 0.5783 GB, free: 77.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009317/0.6199, allocations: 4.641 MB / 0.5828 GB, free: 76.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/0.6206, allocations: 219.6 kB / 0.583 GB, free: 76.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.6209, allocations: 33.98 kB / 0.583 GB, free: 76.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.6224, allocations: 142.8 kB / 0.5832 GB, free: 76.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.6228, allocations: 119.7 kB / 0.5833 GB, free: 76.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.6229, allocations: 49.91 kB / 0.5833 GB, free: 76.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001111/0.624, allocations: 0.6873 MB / 0.584 GB, free: 76.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.624, allocations: 0 / 0.584 GB, free: 76.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002775/0.6268, allocations: 0.5818 MB / 0.5846 GB, free: 76.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,61.2%) 10} * Non-linear torn systems: 3 {1 3,5 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/0.6378, allocations: 6.887 MB / 0.5913 GB, free: 73.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006746/0.6446, allocations: 2.634 MB / 0.5939 GB, free: 73.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/0.6447, allocations: 1.375 kB / 0.5939 GB, free: 73.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004364/0.6491, allocations: 1.397 MB / 0.5952 GB, free: 72.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.6514, allocations: 360 kB / 0.5956 GB, free: 72.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/0.6754, allocations: 33.77 MB / 0.6285 GB, free: 44.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009717/0.6764, allocations: 1.452 MB / 0.63 GB, free: 43.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001734/0.6781, allocations: 456.4 kB / 0.6304 GB, free: 42.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/0.6789, allocations: 0.6398 MB / 0.631 GB, free: 42.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.315e-06/0.6789, allocations: 0 / 0.631 GB, free: 42.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05764/0.7365, allocations: 40.05 MB / 0.6701 GB, free: 2.465 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/0.7367, allocations: 216.3 kB / 0.6703 GB, free: 2.227 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/3.743, allocations: 0 / 0.6703 GB, free: 2.227 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: