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: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001152, 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.7175/0.7175, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.451/1.451, allocations: 221.3 MB / 400.4 MB, free: 5.789 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.001029/0.001029, allocations: 102.2 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.78e-05/4.784e-05, allocations: 10.3 kB / 0.56 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.18, allocations: 82.3 MB / 0.6404 GB, free: 7.809 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.397/1.577, allocations: 424.2 MB / 1.055 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.577, allocations: 100.6 kB / 1.055 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 40.47/42.04, allocations: 8.755 GB / 9.809 GB, free: 55.3 MB / 0.9637 GB Notification: Performance of FrontEnd: time 2.244e-06/42.04, allocations: 0 / 9.809 GB, free: 55.3 MB / 0.9637 GB Notification: Performance of Transformations before backend: time 0.004382/42.05, allocations: 427.9 kB / 9.81 GB, free: 55.3 MB / 0.9637 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.0627/42.11, allocations: 13.5 MB / 9.823 GB, free: 52.71 MB / 0.9637 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/42.11, allocations: 10.5 kB / 9.823 GB, free: 52.71 MB / 0.9637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/42.13, allocations: 2.191 MB / 9.825 GB, free: 51.75 MB / 0.9637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07464/42.2, allocations: 21.55 MB / 9.846 GB, free: 49.3 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001255/42.2, allocations: 0.6835 MB / 9.847 GB, free: 49.29 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006043/42.21, allocations: 0.9586 MB / 9.848 GB, free: 49.27 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04564/42.25, allocations: 15.56 MB / 9.863 GB, free: 48.48 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004994/42.25, allocations: 10.81 kB / 9.863 GB, free: 48.48 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004824/42.26, allocations: 327.3 kB / 9.863 GB, free: 48.48 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005224/42.26, allocations: 376.4 kB / 9.864 GB, free: 48.46 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04174/42.3, allocations: 19.66 MB / 9.883 GB, free: 48.4 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 removeSimpleEquations (simulation): time 0.1756/42.48, allocations: 79.5 MB / 9.961 GB, free: 14.99 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/42.5, allocations: 11.95 MB / 9.972 GB, free: 14.54 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01669/42.52, allocations: 9.163 MB / 9.981 GB, free: 14.45 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.09301/42.61, allocations: 33.92 MB / 10.01 GB, free: 5.828 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02107/42.63, allocations: 9.287 MB / 10.02 GB, free: 5.656 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04904/42.68, allocations: 15.08 MB / 10.04 GB, free: 5.375 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=614): time 8.213e-05/42.68, allocations: 2.656 kB / 10.04 GB, free: 5.375 MB / 0.9637 GB Notification: Performance of matching and sorting (n=908): time 1.983/44.66, allocations: 230 MB / 10.26 GB, free: 79.43 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1245/44.79, allocations: 46.14 MB / 10.31 GB, free: 70 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05068/44.84, allocations: 14.21 MB / 10.32 GB, free: 69.27 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.005976/44.84, allocations: 243.5 kB / 10.32 GB, free: 69.24 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01462/44.86, allocations: 7.236 MB / 10.33 GB, free: 68.96 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0137/44.87, allocations: 3.234 MB / 10.33 GB, free: 67.8 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008527/44.88, allocations: 207.4 kB / 10.33 GB, free: 67.8 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001606/44.88, allocations: 0.7517 MB / 10.33 GB, free: 67.47 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03398/44.92, allocations: 18.32 MB / 10.35 GB, free: 67.45 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03669/44.95, allocations: 21.32 MB / 10.37 GB, free: 64.28 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03336/44.99, allocations: 19.69 MB / 10.39 GB, free: 63.99 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001796/44.99, allocations: 19.73 kB / 10.39 GB, free: 63.99 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.6256/45.61, allocations: 146.3 MB / 10.53 GB, free: 7.422 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.164/46.78, allocations: 35.42 MB / 10.57 GB, free: 70.28 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00043/46.78, allocations: 52.25 kB / 10.57 GB, free: 70.28 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6466/47.42, allocations: 146.9 MB / 10.71 GB, free: 70.18 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02202/47.45, allocations: 3.674 MB / 10.72 GB, free: 70.18 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.17/47.62, allocations: 73.19 MB / 10.79 GB, free: 62.84 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1261/47.74, allocations: 7.285 MB / 10.79 GB, free: 61.67 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01022/47.75, allocations: 1.44 MB / 10.8 GB, free: 61.67 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/47.75, allocations: 6.375 kB / 10.8 GB, free: 61.67 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.776/49.53, allocations: 145.1 MB / 10.94 GB, free: 101.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004632/49.53, allocations: 52.19 kB / 10.94 GB, free: 101.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6401/50.17, allocations: 147.3 MB / 11.08 GB, free: 101.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01929/50.19, allocations: 3.653 MB / 11.08 GB, free: 101.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1688/50.36, allocations: 77 MB / 11.16 GB, free: 96.63 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1217/50.48, allocations: 7.261 MB / 11.17 GB, free: 95.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008159/50.49, allocations: 1.391 MB / 11.17 GB, free: 95.64 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.01101/50.5, allocations: 0.674 MB / 11.17 GB, free: 95.54 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01087/50.51, allocations: 1.495 MB / 11.17 GB, free: 95.54 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.388/51.9, allocations: 132.9 MB / 11.3 GB, free: 108.9 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2367/52.13, allocations: 69.47 MB / 11.37 GB, free: 108.3 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001047/52.13, allocations: 28.62 kB / 11.37 GB, free: 108.3 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2257/52.36, allocations: 68.64 MB / 11.44 GB, free: 107.6 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3399/52.7, allocations: 154.2 MB / 11.59 GB, free: 100 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001077/52.7, allocations: 1.859 kB / 11.59 GB, free: 100 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01285/52.71, allocations: 2.108 MB / 11.59 GB, free: 99.99 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.301/54.01, allocations: 97.49 MB / 11.68 GB, free: 115.5 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004618/54.02, allocations: 0.6572 MB / 11.68 GB, free: 115.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1539/54.17, allocations: 76.99 MB / 11.76 GB, free: 106.5 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09425/54.27, allocations: 39.69 MB / 11.8 GB, free: 99.6 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2741/54.54, allocations: 99.31 MB / 11.89 GB, free: 98.1 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02411/54.56, allocations: 6.707 MB / 11.9 GB, free: 97.2 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0124/54.58, allocations: 222.9 kB / 11.9 GB, free: 97.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07117/54.65, allocations: 3.898 MB / 11.91 GB, free: 96.55 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006075/54.65, allocations: 0.9779 MB / 11.91 GB, free: 96.54 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004515/54.66, allocations: 0.7198 MB / 11.91 GB, free: 96.54 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02563/54.68, allocations: 10.87 MB / 11.92 GB, free: 96.03 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.172e-06/54.68, allocations: 0 / 11.92 GB, free: 96.03 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.1351/54.82, allocations: 50.99 MB / 11.97 GB, free: 63.73 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 0.01544/54.83, allocations: 5.557 MB / 11.97 GB, free: 59.14 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1297/54.96, allocations: 76.78 MB / 12.05 GB, free: 11.86 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/54.96, allocations: 2.375 kB / 12.05 GB, free: 11.86 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.117/56.08, allocations: 54.25 MB / 12.1 GB, free: 113.9 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05673/56.14, allocations: 7.402 MB / 12.11 GB, free: 113.6 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1022/56.24, allocations: 46.78 MB / 12.15 GB, free: 106.3 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02405/56.26, allocations: 10.42 MB / 12.16 GB, free: 104.9 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0823/56.35, allocations: 11.37 MB / 12.17 GB, free: 104 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01677/56.36, allocations: 1.87 MB / 12.18 GB, free: 104 MB / 1.042 GB Notification: Performance of SimCode: time 1.533e-06/56.36, allocations: 0 / 12.18 GB, free: 104 MB / 1.042 GB Notification: Performance of Templates: time 2.093/58.46, allocations: 0.6424 GB / 12.82 GB, free: 14.82 MB / 1.104 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)