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.001531/0.001531, allocations: 180.9 kB / 8.006 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.5 MB / 230 MB, free: 7.566 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.0008539/0.000854, allocations: 93.25 kB / 280.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4665/0.4665, allocations: 64.47 MB / 396.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.709e-05, allocations: 0 / 467.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 64.85 MB / 0.5197 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.963/1.107, allocations: 250.5 MB / 0.7643 GB, free: 119 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.107, allocations: 57.61 kB / 0.7643 GB, free: 119 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1293/1.237, allocations: 59.92 MB / 0.8228 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.753e-06/1.237, allocations: 0 / 0.8228 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.822e-05/1.237, allocations: 42.28 kB / 0.8229 GB, free: 113.6 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.004226/1.241, allocations: 1.79 MB / 0.8246 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.241, allocations: 8.844 kB / 0.8246 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/1.241, allocations: 195.7 kB / 0.8248 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/1.243, allocations: 0.7581 MB / 0.8256 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.816e-05/1.243, allocations: 64.38 kB / 0.8256 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006405/1.243, allocations: 187.5 kB / 0.8258 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003257/1.247, allocations: 1.917 MB / 0.8277 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/1.25, allocations: 2.338 MB / 0.83 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/1.25, allocations: 5.844 kB / 0.83 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/1.251, allocations: 5.625 kB / 0.83 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/1.251, allocations: 128.2 kB / 0.8301 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/1.261, allocations: 9.964 MB / 0.8398 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/1.263, allocations: 2.717 MB / 0.8425 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/1.264, allocations: 0.5468 MB / 0.843 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/1.264, allocations: 19.09 kB / 0.843 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.264, allocations: 51.55 kB / 0.8431 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 3.857e-06/1.264, allocations: 0 / 0.8431 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139): time 0.01603/1.28, allocations: 6.405 MB / 0.8493 GB, free: 98.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/1.28, allocations: 204.6 kB / 0.8495 GB, free: 98.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/1.281, allocations: 0.7394 MB / 0.8503 GB, free: 98.03 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/1.282, allocations: 29.64 kB / 0.8503 GB, free: 98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/1.282, allocations: 0.9477 MB / 0.8512 GB, free: 97.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/1.282, allocations: 483.2 kB / 0.8517 GB, free: 96.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/1.282, allocations: 0 / 0.8517 GB, free: 96.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.283, allocations: 424.2 kB / 0.8521 GB, free: 96.51 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/1.284, allocations: 0.814 MB / 0.8529 GB, free: 96.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.285, allocations: 1.749 MB / 0.8546 GB, free: 94.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/1.286, allocations: 1.141 MB / 0.8557 GB, free: 93.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/1.286, allocations: 7.906 kB / 0.8557 GB, free: 93.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00691/1.293, allocations: 3.255 MB / 0.8589 GB, free: 92.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.293, allocations: 17.44 kB / 0.8589 GB, free: 92.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/1.293, allocations: 34.53 kB / 0.8589 GB, free: 92.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/1.297, allocations: 0.9159 MB / 0.8598 GB, free: 91.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/1.3, allocations: 0.5462 MB / 0.8604 GB, free: 91.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008692/1.309, allocations: 5.825 MB / 0.866 GB, free: 87.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/1.312, allocations: 177.2 kB / 0.8662 GB, free: 87.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/1.312, allocations: 119.9 kB / 0.8663 GB, free: 87.02 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 () * 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.000397/1.313, allocations: 191 kB / 0.8665 GB, free: 86.84 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0065/1.319, allocations: 2.426 MB / 0.8689 GB, free: 84.94 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/1.319, allocations: 118.5 kB / 0.869 GB, free: 84.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006704/1.326, allocations: 2.666 MB / 0.8716 GB, free: 82.13 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005878/1.332, allocations: 2.324 MB / 0.8739 GB, free: 79.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/1.332, allocations: 8 kB / 0.8739 GB, free: 79.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/1.332, allocations: 11.97 kB / 0.8739 GB, free: 79.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/1.344, allocations: 5.739 MB / 0.8795 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.344, allocations: 4 kB / 0.8795 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/1.346, allocations: 256.2 kB / 0.8797 GB, free: 73.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004969/1.351, allocations: 1.191 MB / 0.8809 GB, free: 72.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/1.351, allocations: 11.98 kB / 0.8809 GB, free: 72.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007308/1.359, allocations: 5.73 MB / 0.8865 GB, free: 66.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008264/1.367, allocations: 5.116 MB / 0.8915 GB, free: 61.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008496/1.375, allocations: 4.326 MB / 0.8957 GB, free: 56.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/1.376, allocations: 199.7 kB / 0.8959 GB, free: 56.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/1.376, allocations: 16 kB / 0.8959 GB, free: 56.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.378, allocations: 103.8 kB / 0.896 GB, free: 56.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/1.378, allocations: 117 kB / 0.8961 GB, free: 56.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.378, allocations: 47.98 kB / 0.8962 GB, free: 56.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007124/1.379, allocations: 0.5068 MB / 0.8967 GB, free: 55.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/1.379, allocations: 0 / 0.8967 GB, free: 55.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003954/1.383, allocations: 0.5546 MB / 0.8972 GB, free: 55.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET5.x[3],$STATESET5.x[2],$STATESET5.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.008624/1.391, allocations: 6.639 MB / 0.9037 GB, free: 48.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0052/1.397, allocations: 2.349 MB / 0.906 GB, free: 45.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/1.397, allocations: 7.938 kB / 0.906 GB, free: 45.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00326/1.4, allocations: 1.269 MB / 0.9072 GB, free: 44.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.402, allocations: 213.2 kB / 0.9075 GB, free: 44.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/1.409, allocations: 3.281 MB / 0.9107 GB, free: 40.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000969/1.41, allocations: 1.458 MB / 0.9121 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001601/1.411, allocations: 419.2 kB / 0.9125 GB, free: 39.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007874/1.412, allocations: 0.6515 MB / 0.9131 GB, free: 38.42 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/1.412, allocations: 0 / 0.9131 GB, free: 38.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06087/1.473, allocations: 36.1 MB / 0.9484 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/1.473, allocations: 149.3 kB / 0.9485 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/4.56, allocations: 4 kB / 0.9485 GB, free: 2.355 MB / 0.5417 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)