Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified2",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.001368/0.001368, 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.9135/0.9135, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.462/1.462, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.001024/0.001024, allocations: 91.34 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.266e-05, allocations: 2.906 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1583, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.474, allocations: 424.2 MB / 1.055 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/1.474, allocations: 88.64 kB / 1.055 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 36.97/38.44, allocations: 8.755 GB / 9.809 GB, free: 40.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.783e-06/38.44, allocations: 0 / 9.809 GB, free: 40.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003467/38.45, allocations: 425.1 kB / 9.81 GB, free: 40.2 MB / 0.948 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.05366/38.5, allocations: 13.5 MB / 9.823 GB, free: 37.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/38.5, allocations: 12.48 kB / 9.823 GB, free: 37.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005602/38.51, allocations: 1.035 MB / 9.824 GB, free: 37.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/38.52, allocations: 2.19 MB / 9.826 GB, free: 36.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07114/38.59, allocations: 21.55 MB / 9.847 GB, free: 34.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001637/38.59, allocations: 0.6824 MB / 9.848 GB, free: 34.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005901/38.6, allocations: 0.9602 MB / 9.849 GB, free: 34.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04147/38.64, allocations: 15.56 MB / 9.864 GB, free: 33.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006394/38.64, allocations: 11.53 kB / 9.864 GB, free: 33.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004037/38.65, allocations: 329 kB / 9.864 GB, free: 33.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004668/38.65, allocations: 372.6 kB / 9.865 GB, free: 33.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03591/38.68, allocations: 19.66 MB / 9.884 GB, free: 33.21 MB / 0.948 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.1554/38.84, allocations: 79.5 MB / 9.962 GB, free: 15.8 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/38.86, allocations: 11.96 MB / 9.973 GB, free: 15.34 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01501/38.87, allocations: 9.158 MB / 9.982 GB, free: 15.27 MB / 0.9637 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.08171/38.96, allocations: 33.92 MB / 10.02 GB, free: 6.637 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01805/38.97, allocations: 9.285 MB / 10.02 GB, free: 6.465 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04395/39.02, allocations: 15.08 MB / 10.04 GB, free: 6.184 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=614): time 4.25e-05/39.02, allocations: 3.5 kB / 10.04 GB, free: 6.184 MB / 0.9637 GB Notification: Performance of matching and sorting (n=908): time 1.663/40.68, allocations: 230 MB / 10.26 GB, free: 79.67 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1098/40.79, allocations: 46.15 MB / 10.31 GB, free: 70.24 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03949/40.83, allocations: 14.21 MB / 10.32 GB, free: 69.51 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.005162/40.84, allocations: 246.8 kB / 10.32 GB, free: 69.48 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01141/40.85, allocations: 7.234 MB / 10.33 GB, free: 69.2 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.01048/40.86, allocations: 3.232 MB / 10.33 GB, free: 67.97 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005137/40.86, allocations: 210.1 kB / 10.33 GB, free: 67.97 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001087/40.87, allocations: 0.7453 MB / 10.33 GB, free: 67.64 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02837/40.89, allocations: 18.32 MB / 10.35 GB, free: 67.62 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03087/40.92, allocations: 21.32 MB / 10.37 GB, free: 64.45 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03101/40.96, allocations: 19.69 MB / 10.39 GB, free: 64.14 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001598/40.96, allocations: 13.81 kB / 10.39 GB, free: 64.14 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.6107/41.57, allocations: 146.3 MB / 10.53 GB, free: 7.234 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.8162/42.38, allocations: 35.43 MB / 10.57 GB, free: 68.98 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002862/42.38, allocations: 51.06 kB / 10.57 GB, free: 68.98 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.617/43, allocations: 146.9 MB / 10.71 GB, free: 68.88 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01987/43.02, allocations: 3.676 MB / 10.72 GB, free: 68.88 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1558/43.18, allocations: 73.19 MB / 10.79 GB, free: 61.51 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.117/43.29, allocations: 7.291 MB / 10.8 GB, free: 60.34 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007528/43.3, allocations: 1.443 MB / 10.8 GB, free: 60.34 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/43.3, allocations: 4.656 kB / 10.8 GB, free: 60.34 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.491/44.79, allocations: 145.1 MB / 10.94 GB, free: 101.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000343/44.79, allocations: 50.25 kB / 10.94 GB, free: 101.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6178/45.41, allocations: 147.3 MB / 11.08 GB, free: 101.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01783/45.43, allocations: 3.648 MB / 11.09 GB, free: 101.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1519/45.58, allocations: 77 MB / 11.16 GB, free: 96.88 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1188/45.7, allocations: 7.262 MB / 11.17 GB, free: 95.86 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006791/45.71, allocations: 1.393 MB / 11.17 GB, free: 95.86 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1064): * Single equations (assignments): 1046 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.009122/45.71, allocations: 0.6718 MB / 11.17 GB, free: 95.75 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008222/45.72, allocations: 1.496 MB / 11.17 GB, free: 95.75 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.118/46.84, allocations: 132.9 MB / 11.3 GB, free: 109.5 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2049/47.05, allocations: 69.47 MB / 11.37 GB, free: 109 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.651e-05/47.05, allocations: 29.53 kB / 11.37 GB, free: 109 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.192/47.24, allocations: 68.65 MB / 11.44 GB, free: 108.3 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2862/47.52, allocations: 154.2 MB / 11.59 GB, free: 100.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.6e-05/47.52, allocations: 3.781 kB / 11.59 GB, free: 100.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01178/47.54, allocations: 2.112 MB / 11.59 GB, free: 100.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078/48.61, allocations: 97.49 MB / 11.68 GB, free: 115.4 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003991/48.62, allocations: 0.6501 MB / 11.68 GB, free: 115.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1364/48.75, allocations: 77 MB / 11.76 GB, free: 106.5 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08028/48.83, allocations: 39.69 MB / 11.8 GB, free: 99.52 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.23/49.06, allocations: 99.32 MB / 11.9 GB, free: 97.97 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01735/49.08, allocations: 6.696 MB / 11.9 GB, free: 97.03 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006036/49.09, allocations: 225.6 kB / 11.9 GB, free: 97.03 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06337/49.15, allocations: 3.895 MB / 11.91 GB, free: 96.38 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004377/49.16, allocations: 0.9801 MB / 11.91 GB, free: 96.36 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002749/49.16, allocations: 0.723 MB / 11.91 GB, free: 96.36 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01882/49.18, allocations: 10.87 MB / 11.92 GB, free: 95.86 MB / 1.042 GB Notification: Performance of sort global known variables: time 4.41e-07/49.18, allocations: 0 / 11.92 GB, free: 95.86 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.1183/49.3, allocations: 50.99 MB / 11.97 GB, free: 62.89 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[32],$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]) * 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 (667): * Single equations (assignments): 644 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,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 {14 89,42 208} Notification: Performance of Backend phase and start with SimCode phase: time 1.012/50.31, allocations: 108.8 MB / 12.07 GB, free: 110.1 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1327/50.44, allocations: 76.79 MB / 12.15 GB, free: 108.8 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/50.44, allocations: 1.125 kB / 12.15 GB, free: 108.8 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.09373/50.53, allocations: 50.44 MB / 12.2 GB, free: 105.9 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04811/50.58, allocations: 7.404 MB / 12.21 GB, free: 105.5 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1227/50.7, allocations: 51.92 MB / 12.26 GB, free: 97.8 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01495/50.72, allocations: 10.42 MB / 12.27 GB, free: 96.4 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.05766/50.78, allocations: 11.37 MB / 12.28 GB, free: 95.5 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02583/50.8, allocations: 9.836 MB / 12.29 GB, free: 95.5 MB / 1.042 GB Notification: Performance of SimCode: time 1.212e-06/50.8, allocations: 0 / 12.29 GB, free: 95.5 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.58/56.38, allocations: 0.82 GB / 13.11 GB, free: 110 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/56.38, allocations: 216.9 kB / 13.11 GB, free: 109.8 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 49.15/105.5, allocations: 0 / 13.11 GB, free: 109.8 MB / 1.104 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified2_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified2.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)