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.00267/0.00267, allocations: 177.8 kB / 15.76 MB, free: 6.363 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.607/1.607, allocations: 223.2 MB / 239.7 MB, free: 1.816 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008698/0.0008698, allocations: 100.3 kB / 290.8 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5593/0.5593, allocations: 64.88 MB / 406.8 MB, free: 49.48 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 8 kB / 482.3 MB, free: 3.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 64.86 MB / 0.5343 GB, free: 2.516 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.159, allocations: 251.2 MB / 0.7797 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.159, allocations: 63.47 kB / 0.7797 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1417/1.301, allocations: 60.52 MB / 0.8388 GB, free: 108 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.236e-06/1.301, allocations: 3.969 kB / 0.8388 GB, free: 108 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.201e-05/1.301, allocations: 39.66 kB / 0.8389 GB, free: 108 MB / 0.5417 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.00634/1.307, allocations: 1.846 MB / 0.8407 GB, free: 107 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.307, allocations: 15.05 kB / 0.8407 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001159/1.308, allocations: 308.1 kB / 0.841 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009344/1.309, allocations: 188.2 kB / 0.8412 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/1.311, allocations: 0.7574 MB / 0.8419 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/1.312, allocations: 150.6 kB / 0.842 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/1.313, allocations: 262.6 kB / 0.8423 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/1.318, allocations: 2.689 MB / 0.8449 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/1.318, allocations: 7.25 kB / 0.8449 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/1.318, allocations: 88.02 kB / 0.845 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/1.319, allocations: 127.2 kB / 0.8451 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/1.322, allocations: 2.169 MB / 0.8472 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/1.334, allocations: 10.32 MB / 0.8573 GB, free: 96.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/1.336, allocations: 2.786 MB / 0.86 GB, free: 93.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/1.336, allocations: 24.98 kB / 0.8601 GB, free: 93.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.336, allocations: 51.47 kB / 0.8601 GB, free: 93.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 3.025e-06/1.336, allocations: 0 / 0.8601 GB, free: 93.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139): time 0.02242/1.359, allocations: 7.934 MB / 0.8679 GB, free: 88.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005317/1.364, allocations: 4.079 MB / 0.8718 GB, free: 84.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/1.366, allocations: 0.9659 MB / 0.8728 GB, free: 84.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/1.366, allocations: 49.67 kB / 0.8728 GB, free: 84.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/1.366, allocations: 0.9404 MB / 0.8738 GB, free: 83.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005635/1.367, allocations: 0.4923 MB / 0.8742 GB, free: 83.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/1.367, allocations: 50.22 kB / 0.8743 GB, free: 83.06 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.367, allocations: 441.3 kB / 0.8747 GB, free: 82.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/1.369, allocations: 0.8961 MB / 0.8756 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/1.371, allocations: 1.843 MB / 0.8774 GB, free: 80.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/1.373, allocations: 1.235 MB / 0.8786 GB, free: 79.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/1.373, allocations: 11.94 kB / 0.8786 GB, free: 79.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008673/1.382, allocations: 3.653 MB / 0.8822 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/1.382, allocations: 17.72 kB / 0.8822 GB, free: 75.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/1.382, allocations: 32 kB / 0.8822 GB, free: 75.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004827/1.387, allocations: 0.9749 MB / 0.8832 GB, free: 74.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/1.391, allocations: 0.542 MB / 0.8837 GB, free: 74.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/1.402, allocations: 6.261 MB / 0.8898 GB, free: 67.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/1.405, allocations: 219.6 kB / 0.89 GB, free: 67.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005456/1.406, allocations: 120 kB / 0.8901 GB, free: 67.47 MB / 0.5417 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 () * 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.001644/1.408, allocations: 0.564 MB / 0.8907 GB, free: 66.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/1.408, allocations: 134.4 kB / 0.8908 GB, free: 66.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007708/1.416, allocations: 2.82 MB / 0.8936 GB, free: 63.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006713/1.422, allocations: 2.445 MB / 0.896 GB, free: 61.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.422, allocations: 4 kB / 0.896 GB, free: 61.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/1.422, allocations: 7.984 kB / 0.896 GB, free: 61.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/1.436, allocations: 5.96 MB / 0.9018 GB, free: 55.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/1.436, allocations: 7.938 kB / 0.9018 GB, free: 55.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/1.438, allocations: 259.6 kB / 0.902 GB, free: 55.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005341/1.443, allocations: 1.176 MB / 0.9032 GB, free: 53.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.443, allocations: 43.97 kB / 0.9032 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008781/1.452, allocations: 5.98 MB / 0.9091 GB, free: 47.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005446/1.457, allocations: 3.946 MB / 0.9129 GB, free: 43.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009731/1.467, allocations: 4.544 MB / 0.9174 GB, free: 38.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007148/1.468, allocations: 223.4 kB / 0.9176 GB, free: 38.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/1.468, allocations: 35.98 kB / 0.9176 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/1.471, allocations: 135.8 kB / 0.9177 GB, free: 38.19 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/1.471, allocations: 116.7 kB / 0.9178 GB, free: 38.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.471, allocations: 47.98 kB / 0.9179 GB, free: 38.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001199/1.472, allocations: 0.6962 MB / 0.9186 GB, free: 37.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/1.472, allocations: 0 / 0.9186 GB, free: 37.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003478/1.476, allocations: 0.5859 MB / 0.9191 GB, free: 36.74 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 121 * 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.01037/1.486, allocations: 6.841 MB / 0.9258 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007318/1.494, allocations: 2.59 MB / 0.9284 GB, free: 27.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.494, allocations: 4 kB / 0.9284 GB, free: 27.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003738/1.497, allocations: 1.366 MB / 0.9297 GB, free: 25.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/1.5, allocations: 367.9 kB / 0.93 GB, free: 25.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/1.532, allocations: 33.77 MB / 0.963 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/1.534, allocations: 1.456 MB / 0.9644 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002281/1.536, allocations: 452.7 kB / 0.9649 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/1.538, allocations: 0.6555 MB / 0.9655 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of SimCode: time 8.41e-07/1.538, allocations: 0 / 0.9655 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3819/1.92, allocations: 41.13 MB / 1.006 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.92, allocations: 218.3 kB / 1.006 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/5.294, allocations: 0 / 1.006 GB, free: 131.3 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)