Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_dev_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.001593/0.001593, allocations: 174.6 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.8196/0.8196, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.39/1.39, allocations: 221.3 MB / 400.4 MB, free: 5.824 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.000924/0.0009239, allocations: 101.7 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.81e-05/3.843e-05, allocations: 2.562 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1632, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.477, allocations: 424.3 MB / 1.055 GB, free: 171 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.477, allocations: 101.3 kB / 1.055 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 38.8/40.28, allocations: 9.557 GB / 10.61 GB, free: 73.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.045e-06/40.28, allocations: 0 / 10.61 GB, free: 73.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003051/40.28, allocations: 429 kB / 10.61 GB, free: 73.69 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.04895/40.33, allocations: 13.49 MB / 10.63 GB, free: 67.88 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/40.33, allocations: 9.812 kB / 10.63 GB, free: 67.88 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004802/40.33, allocations: 1.037 MB / 10.63 GB, free: 67.79 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/40.35, allocations: 2.192 MB / 10.63 GB, free: 66.81 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06226/40.41, allocations: 21.55 MB / 10.65 GB, free: 64.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009877/40.41, allocations: 0.6792 MB / 10.65 GB, free: 64.27 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005121/40.42, allocations: 0.955 MB / 10.65 GB, free: 64.26 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04478/40.46, allocations: 15.52 MB / 10.67 GB, free: 63.44 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005698/40.46, allocations: 14.22 kB / 10.67 GB, free: 63.44 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004842/40.47, allocations: 327.5 kB / 10.67 GB, free: 63.44 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006032/40.47, allocations: 364.5 kB / 10.67 GB, free: 63.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03668/40.5, allocations: 19.62 MB / 10.69 GB, free: 63.36 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.1448/40.65, allocations: 79.83 MB / 10.76 GB, free: 28.66 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/40.67, allocations: 11.72 MB / 10.78 GB, free: 27.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01345/40.68, allocations: 9.454 MB / 10.79 GB, free: 23.38 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.07653/40.76, allocations: 33.7 MB / 10.82 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01898/40.78, allocations: 9.19 MB / 10.83 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09195/40.87, allocations: 18.84 MB / 10.85 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=593): time 6.486e-05/40.87, allocations: 4 kB / 10.85 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of matching and sorting (n=866): time 1.641/42.51, allocations: 213 MB / 11.05 GB, free: 86.38 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09218/42.6, allocations: 41.32 MB / 11.09 GB, free: 77.36 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03426/42.64, allocations: 14.21 MB / 11.11 GB, free: 76.55 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.004776/42.64, allocations: 238.5 kB / 11.11 GB, free: 76.52 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01103/42.65, allocations: 7.25 MB / 11.12 GB, free: 75.35 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.008574/42.66, allocations: 3.076 MB / 11.12 GB, free: 73.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004451/42.67, allocations: 207.5 kB / 11.12 GB, free: 73.82 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0009142/42.67, allocations: 0.7354 MB / 11.12 GB, free: 73.49 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02342/42.69, allocations: 16.68 MB / 11.14 GB, free: 68.21 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02576/42.72, allocations: 19.65 MB / 11.15 GB, free: 55.71 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02619/42.74, allocations: 18.03 MB / 11.17 GB, free: 46.27 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/42.74, allocations: 16 kB / 11.17 GB, free: 46.25 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1391) (initialization): time 1.447/44.19, allocations: 142.6 MB / 11.31 GB, free: 95.85 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006421/44.2, allocations: 36.95 MB / 11.35 GB, free: 57.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/44.2, allocations: 54.09 kB / 11.35 GB, free: 57.32 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6054/44.8, allocations: 146 MB / 11.49 GB, free: 46.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01946/44.82, allocations: 3.597 MB / 11.49 GB, free: 45.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1495/44.97, allocations: 71.14 MB / 11.56 GB, free: 13.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0896/45.06, allocations: 6.182 MB / 11.57 GB, free: 7.242 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008896/45.07, allocations: 1.321 MB / 11.57 GB, free: 6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/45.07, allocations: 4 kB / 11.57 GB, free: 5.996 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.413/46.48, allocations: 141.4 MB / 11.71 GB, free: 133.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002422/46.48, allocations: 53.12 kB / 11.71 GB, free: 133.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5898/47.07, allocations: 146.4 MB / 11.85 GB, free: 122.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01621/47.09, allocations: 3.587 MB / 11.85 GB, free: 121.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1401/47.23, allocations: 75.41 MB / 11.93 GB, free: 69.57 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08421/47.31, allocations: 6.146 MB / 11.93 GB, free: 63.65 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005488/47.32, allocations: 1.285 MB / 11.94 GB, free: 62.45 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.007489/47.33, allocations: 0.663 MB / 11.94 GB, free: 62.21 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006848/47.33, allocations: 1.487 MB / 11.94 GB, free: 61.52 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8966/48.23, allocations: 58.23 MB / 11.99 GB, free: 120 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2015/48.43, allocations: 64.23 MB / 12.06 GB, free: 119.6 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001113/48.43, allocations: 34.05 kB / 12.06 GB, free: 119.6 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1913/48.62, allocations: 63.58 MB / 12.12 GB, free: 118.9 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2774/48.9, allocations: 127 MB / 12.24 GB, free: 113.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.307e-05/48.9, allocations: 1.203 kB / 12.24 GB, free: 113.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01109/48.91, allocations: 2.023 MB / 12.25 GB, free: 113.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3041/49.22, allocations: 81.57 MB / 12.33 GB, free: 77.3 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003547/49.22, allocations: 0.5759 MB / 12.33 GB, free: 76.73 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8509/50.07, allocations: 63.86 MB / 12.39 GB, free: 133 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07804/50.15, allocations: 35.55 MB / 12.42 GB, free: 127.8 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2258/50.38, allocations: 91.32 MB / 12.51 GB, free: 126.5 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01747/50.39, allocations: 6.165 MB / 12.52 GB, free: 126.1 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00761/50.4, allocations: 217.9 kB / 12.52 GB, free: 126.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05215/50.45, allocations: 3.346 MB / 12.52 GB, free: 126.1 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006357/50.46, allocations: 0.8851 MB / 12.52 GB, free: 126.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003984/50.46, allocations: 0.6359 MB / 12.52 GB, free: 126.1 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02391/50.49, allocations: 10.87 MB / 12.53 GB, free: 125.6 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.464e-06/50.49, allocations: 0 / 12.53 GB, free: 125.6 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.1098/50.6, allocations: 38.65 MB / 12.57 GB, free: 125.6 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.2367/50.83, allocations: 96.85 MB / 12.67 GB, free: 72.93 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.103/50.94, allocations: 69.87 MB / 12.73 GB, free: 14.95 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/50.94, allocations: 5.422 kB / 12.73 GB, free: 14.95 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.9352/51.87, allocations: 40.77 MB / 12.77 GB, free: 130.8 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04782/51.92, allocations: 7.238 MB / 12.78 GB, free: 130.4 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1312/52.05, allocations: 49.02 MB / 12.83 GB, free: 123.1 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01788/52.07, allocations: 10.12 MB / 12.84 GB, free: 121.8 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0488/52.12, allocations: 11.03 MB / 12.85 GB, free: 120.9 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02198/52.14, allocations: 9.339 MB / 12.86 GB, free: 120.9 MB / 1.042 GB Notification: Performance of SimCode: time 8.52e-07/52.14, allocations: 0.8438 kB / 12.86 GB, free: 120.9 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.598/57.74, allocations: 0.7791 GB / 13.64 GB, free: 143.6 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/57.74, allocations: 217 kB / 13.64 GB, free: 143.3 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.62/108.4, allocations: 0 / 13.64 GB, free: 143.3 MB / 1.104 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)