Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3",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.001453/0.001454, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7013/0.7013, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000824/0.000824, allocations: 93.12 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.385e-05, allocations: 2.344 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1645, allocations: 82.29 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.439, allocations: 424.3 MB / 1.055 GB, free: 171 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/1.439, allocations: 96.58 kB / 1.055 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 41.37/42.81, allocations: 9.557 GB / 10.61 GB, free: 73.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.653e-06/42.81, allocations: 1.5 kB / 10.61 GB, free: 73.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.004573/42.82, allocations: 426.3 kB / 10.61 GB, free: 73.66 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.05746/42.88, allocations: 13.5 MB / 10.63 GB, free: 67.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/42.88, allocations: 9.938 kB / 10.63 GB, free: 67.84 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00608/42.88, allocations: 1.033 MB / 10.63 GB, free: 67.76 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/42.9, allocations: 2.193 MB / 10.63 GB, free: 66.78 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07021/42.97, allocations: 21.54 MB / 10.65 GB, free: 64.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/42.97, allocations: 0.6847 MB / 10.65 GB, free: 64.24 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005756/42.98, allocations: 0.9517 MB / 10.65 GB, free: 64.22 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04476/43.02, allocations: 15.52 MB / 10.67 GB, free: 63.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006235/43.02, allocations: 10.06 kB / 10.67 GB, free: 63.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004444/43.03, allocations: 333.5 kB / 10.67 GB, free: 63.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004962/43.03, allocations: 369.2 kB / 10.67 GB, free: 63.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03581/43.06, allocations: 19.61 MB / 10.69 GB, free: 63.27 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.1506/43.21, allocations: 79.83 MB / 10.76 GB, free: 28.56 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/43.23, allocations: 11.71 MB / 10.78 GB, free: 27.45 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01332/43.24, allocations: 9.461 MB / 10.79 GB, free: 23.31 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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 evalFunc (simulation): time 0.07208/43.32, allocations: 33.7 MB / 10.82 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0161/43.33, allocations: 9.195 MB / 10.83 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08963/43.42, allocations: 18.74 MB / 10.85 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=593): time 6.573e-05/43.42, allocations: 4 kB / 10.85 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of matching and sorting (n=866): time 1.804/45.23, allocations: 212.9 MB / 11.05 GB, free: 86.71 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09792/45.32, allocations: 41.33 MB / 11.09 GB, free: 77.69 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03803/45.36, allocations: 14.21 MB / 11.11 GB, free: 76.89 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.005223/45.37, allocations: 235.8 kB / 11.11 GB, free: 76.86 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01254/45.38, allocations: 7.249 MB / 11.11 GB, free: 75.68 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.01196/45.39, allocations: 3.077 MB / 11.12 GB, free: 74.15 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005595/45.4, allocations: 203.6 kB / 11.12 GB, free: 74.15 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001268/45.4, allocations: 0.7362 MB / 11.12 GB, free: 73.82 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02619/45.43, allocations: 16.68 MB / 11.14 GB, free: 68.53 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.029/45.45, allocations: 19.65 MB / 11.15 GB, free: 56.03 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02898/45.48, allocations: 18.03 MB / 11.17 GB, free: 46.58 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/45.48, allocations: 16 kB / 11.17 GB, free: 46.57 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1391) (initialization): time 1.666/47.15, allocations: 142.6 MB / 11.31 GB, free: 95.87 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.008169/47.16, allocations: 36.96 MB / 11.35 GB, free: 57.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00025/47.16, allocations: 56.31 kB / 11.35 GB, free: 57.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.63/47.79, allocations: 146 MB / 11.49 GB, free: 46.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01941/47.81, allocations: 3.594 MB / 11.49 GB, free: 45.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1408/47.95, allocations: 71.15 MB / 11.56 GB, free: 13.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09356/48.04, allocations: 6.172 MB / 11.57 GB, free: 7.367 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007686/48.05, allocations: 1.326 MB / 11.57 GB, free: 6.121 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/48.05, allocations: 9.031 kB / 11.57 GB, free: 6.113 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.712/49.76, allocations: 141.4 MB / 11.71 GB, free: 133.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003311/49.76, allocations: 50.78 kB / 11.71 GB, free: 133.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6175/50.38, allocations: 146.4 MB / 11.85 GB, free: 122.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01776/50.4, allocations: 3.59 MB / 11.85 GB, free: 121.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1439/50.54, allocations: 75.41 MB / 11.93 GB, free: 69.83 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09137/50.63, allocations: 6.143 MB / 11.93 GB, free: 63.91 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007602/50.64, allocations: 1.284 MB / 11.94 GB, free: 62.71 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1071): * Single equations (assignments): 1055 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.008452/50.65, allocations: 0.6646 MB / 11.94 GB, free: 62.48 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006965/50.66, allocations: 1.484 MB / 11.94 GB, free: 61.79 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2023/50.86, allocations: 58.23 MB / 11.99 GB, free: 14.47 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222/52.08, allocations: 64.24 MB / 12.06 GB, free: 124.7 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00015/52.08, allocations: 28.44 kB / 12.06 GB, free: 124.7 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2067/52.29, allocations: 63.58 MB / 12.12 GB, free: 124 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3067/52.59, allocations: 127 MB / 12.24 GB, free: 118.8 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000103/52.59, allocations: 3.875 kB / 12.24 GB, free: 118.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01215/52.61, allocations: 2.027 MB / 12.25 GB, free: 118.8 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3186/52.92, allocations: 81.56 MB / 12.33 GB, free: 78.43 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004386/52.93, allocations: 0.5775 MB / 12.33 GB, free: 77.85 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077/54.01, allocations: 63.86 MB / 12.39 GB, free: 133.3 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09071/54.1, allocations: 35.55 MB / 12.42 GB, free: 128.2 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2454/54.34, allocations: 91.32 MB / 12.51 GB, free: 126.9 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01889/54.36, allocations: 6.168 MB / 12.52 GB, free: 126.5 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007998/54.37, allocations: 214.4 kB / 12.52 GB, free: 126.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05298/54.42, allocations: 3.346 MB / 12.52 GB, free: 126.4 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004786/54.43, allocations: 0.883 MB / 12.52 GB, free: 126.4 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003549/54.43, allocations: 0.6472 MB / 12.52 GB, free: 126.4 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02337/54.45, allocations: 10.87 MB / 12.53 GB, free: 125.9 MB / 1.042 GB Notification: Performance of sort global known variables: time 4.61e-07/54.45, allocations: 0.5625 kB / 12.53 GB, free: 125.9 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.1166/54.57, allocations: 38.65 MB / 12.57 GB, free: 125.9 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (658): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {5 79,1 3,34 189} Notification: Performance of Backend phase and start with SimCode phase: time 0.2394/54.81, allocations: 96.85 MB / 12.67 GB, free: 72.7 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1173/54.93, allocations: 69.88 MB / 12.73 GB, free: 14.72 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/54.93, allocations: 4 kB / 12.73 GB, free: 14.71 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.9925/55.92, allocations: 40.91 MB / 12.77 GB, free: 131.1 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05006/55.97, allocations: 7.234 MB / 12.78 GB, free: 130.8 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/56.11, allocations: 49.01 MB / 12.83 GB, free: 123.5 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02114/56.13, allocations: 10.12 MB / 12.84 GB, free: 122.2 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0549/56.19, allocations: 11.03 MB / 12.85 GB, free: 121.3 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02272/56.21, allocations: 9.346 MB / 12.86 GB, free: 121.3 MB / 1.042 GB Notification: Performance of SimCode: time 1.443e-06/56.21, allocations: 0 / 12.86 GB, free: 121.3 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.985/60.2, allocations: 0.7791 GB / 13.64 GB, free: 144 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/60.2, allocations: 210.1 kB / 13.64 GB, free: 143.7 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.8/107, allocations: 4.547 kB / 13.64 GB, free: 143.7 MB / 1.104 GB (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)