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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 182.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 235.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000794/0.0007943, allocations: 81.67 kB / 286 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4442/0.4442, allocations: 64.45 MB / 401.4 MB, free: 23.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.678e-05, allocations: 0 / 474.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3175, allocations: 64.85 MB / 0.5265 GB, free: 30.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5185/0.8361, allocations: 251.2 MB / 0.7717 GB, free: 28.88 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.8363, allocations: 58.72 kB / 0.7718 GB, free: 28.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1268/0.9631, allocations: 60.53 MB / 0.8309 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9631, allocations: 4 kB / 0.8309 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.088e-05/0.9632, allocations: 36 kB / 0.8309 GB, free: 10.18 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.00454/0.9678, allocations: 1.787 MB / 0.8327 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.9678, allocations: 12.03 kB / 0.8327 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004674/0.9683, allocations: 299.9 kB / 0.833 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.9686, allocations: 193.7 kB / 0.8332 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.9699, allocations: 0.7619 MB / 0.8339 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/0.97, allocations: 148 kB / 0.8341 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006656/0.9707, allocations: 267.8 kB / 0.8343 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004038/0.9747, allocations: 2.634 MB / 0.8369 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.9748, allocations: 11.88 kB / 0.8369 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.975, allocations: 80 kB / 0.837 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.9751, allocations: 131.4 kB / 0.8371 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/0.9787, allocations: 2.087 MB / 0.8391 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.9909, allocations: 10.32 MB / 0.8492 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.9935, allocations: 2.757 MB / 0.8519 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008669/0.9944, allocations: 0.5748 MB / 0.8525 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.923e-05/0.9945, allocations: 33.06 kB / 0.8525 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.9946, allocations: 47.56 kB / 0.8525 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=114): time 3.697e-06/0.9946, allocations: 0 / 0.8525 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.01767/1.012, allocations: 6.783 MB / 0.8592 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01168/1.024, allocations: 5.983 MB / 0.865 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/1.025, allocations: 0.9646 MB / 0.866 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002649/1.026, allocations: 45.7 kB / 0.866 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005541/1.026, allocations: 0.9319 MB / 0.8669 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/1.027, allocations: 0.497 MB / 0.8674 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/1.027, allocations: 48 kB / 0.8674 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.027, allocations: 435.5 kB / 0.8679 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/1.028, allocations: 0.8559 MB / 0.8687 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/1.03, allocations: 1.813 MB / 0.8705 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/1.032, allocations: 1.203 MB / 0.8716 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.032, allocations: 8 kB / 0.8716 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008129/1.04, allocations: 3.544 MB / 0.8751 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/1.04, allocations: 20 kB / 0.8751 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/1.04, allocations: 32 kB / 0.8752 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004113/1.044, allocations: 0.9273 MB / 0.8761 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/1.047, allocations: 0.5459 MB / 0.8766 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009052/1.056, allocations: 5.973 MB / 0.8824 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.058, allocations: 215.5 kB / 0.8826 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/1.059, allocations: 128 kB / 0.8828 GB, free: 2.707 MB / 0.5573 GB 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 () * 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.000361/1.059, allocations: 256 kB / 0.883 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/1.059, allocations: 126.5 kB / 0.8831 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2604/1.32, allocations: 2.803 MB / 0.8859 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007261/1.327, allocations: 2.426 MB / 0.8882 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/1.327, allocations: 4.938 kB / 0.8882 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/1.327, allocations: 8.984 kB / 0.8882 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/1.34, allocations: 5.982 MB / 0.8941 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.34, allocations: 5.188 kB / 0.8941 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.342, allocations: 260.8 kB / 0.8943 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005252/1.347, allocations: 1.204 MB / 0.8955 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/1.348, allocations: 39.34 kB / 0.8955 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007818/1.355, allocations: 5.795 MB / 0.9012 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008656/1.364, allocations: 5.277 MB / 0.9064 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008627/1.373, allocations: 4.489 MB / 0.9107 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/1.373, allocations: 218 kB / 0.9109 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/1.373, allocations: 36.56 kB / 0.911 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.375, allocations: 133.4 kB / 0.9111 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/1.375, allocations: 116.2 kB / 0.9112 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.375, allocations: 52.12 kB / 0.9113 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008948/1.376, allocations: 0.6838 MB / 0.9119 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.376, allocations: 3.594 kB / 0.9119 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002627/1.379, allocations: 0.5836 MB / 0.9125 GB, free: 130.1 MB / 0.5573 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * 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,6 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008978/1.388, allocations: 6.775 MB / 0.9191 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005351/1.393, allocations: 2.514 MB / 0.9216 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.393, allocations: 0 / 0.9216 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003216/1.396, allocations: 1.315 MB / 0.9229 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/1.398, allocations: 368 kB / 0.9232 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/1.404, allocations: 3.48 MB / 0.9266 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/1.405, allocations: 1.446 MB / 0.928 GB, free: 124 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001563/1.407, allocations: 450.4 kB / 0.9285 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000795/1.408, allocations: 0.6514 MB / 0.9291 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/1.408, allocations: 3.188 kB / 0.9291 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05348/1.461, allocations: 42.01 MB / 0.9701 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/1.461, allocations: 192.9 kB / 0.9703 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/4.417, allocations: 0 / 0.9703 GB, free: 121.1 MB / 0.5573 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/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)