Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009481/0.0009481, allocations: 173.2 kB / 16.76 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4508/0.4508, allocations: 86.28 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 348.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008478, allocations: 103.5 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 12 kB / 0.4901 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3012, allocations: 71.02 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8934/1.195, allocations: 413.1 MB / 0.9629 GB, free: 219.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.195, allocations: 105.1 kB / 0.963 GB, free: 219.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 39.69/40.89, allocations: 9.511 GB / 10.47 GB, free: 53.83 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.635e-06/40.89, allocations: 0 / 10.47 GB, free: 53.83 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.004325/40.89, allocations: 423 kB / 10.47 GB, free: 53.75 MB / 0.8855 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.08822/40.98, allocations: 20.4 MB / 10.49 GB, free: 46.33 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/40.98, allocations: 12.94 kB / 10.49 GB, free: 46.33 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/41, allocations: 2.184 MB / 10.5 GB, free: 45.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08065/41.08, allocations: 21.87 MB / 10.52 GB, free: 42.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001223/41.08, allocations: 0.6823 MB / 10.52 GB, free: 42.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00579/41.08, allocations: 0.9487 MB / 10.52 GB, free: 42.15 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04503/41.13, allocations: 15.82 MB / 10.53 GB, free: 41.34 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000438/41.13, allocations: 14.94 kB / 10.53 GB, free: 41.34 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003808/41.13, allocations: 325.8 kB / 10.53 GB, free: 41.34 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003744/41.13, allocations: 365.1 kB / 10.54 GB, free: 41.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03908/41.17, allocations: 20.03 MB / 10.55 GB, free: 41.24 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1599/41.33, allocations: 79.65 MB / 10.63 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/41.35, allocations: 11.98 MB / 10.64 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01539/41.37, allocations: 9.627 MB / 10.65 GB, free: 5.883 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.08635/41.46, allocations: 33.55 MB / 10.69 GB, free: 4.148 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02004/41.48, allocations: 9.368 MB / 10.7 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.005/42.48, allocations: 17.09 MB / 10.71 GB, free: 76.92 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=593): time 7.731e-05/42.48, allocations: 1.125 kB / 10.71 GB, free: 76.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=804): time 0.8851/43.37, allocations: 207.2 MB / 10.91 GB, free: 68 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002222/43.37, allocations: 138.3 kB / 10.91 GB, free: 67.93 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04852/43.42, allocations: 15.82 MB / 10.93 GB, free: 67.11 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.004898/43.42, allocations: 233.9 kB / 10.93 GB, free: 67.08 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01288/43.43, allocations: 7.226 MB / 10.94 GB, free: 65.91 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.007414/43.44, allocations: 2.799 MB / 10.94 GB, free: 64.48 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004256/43.44, allocations: 194 kB / 10.94 GB, free: 64.48 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.001109/43.45, allocations: 0.7067 MB / 10.94 GB, free: 64.16 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02094/43.47, allocations: 9.904 MB / 10.95 GB, free: 64.11 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02483/43.49, allocations: 12.89 MB / 10.96 GB, free: 60.83 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0469/43.54, allocations: 22.34 MB / 10.99 GB, free: 50.24 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001715/43.54, allocations: 16 kB / 10.99 GB, free: 50.22 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 1.509/45.05, allocations: 129.3 MB / 11.11 GB, free: 59.65 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001407/45.05, allocations: 1.786 MB / 11.11 GB, free: 57.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/45.05, allocations: 52.16 kB / 11.11 GB, free: 57.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5734/45.62, allocations: 147.4 MB / 11.26 GB, free: 50.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01684/45.64, allocations: 3.302 MB / 11.26 GB, free: 50 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1032/45.74, allocations: 52.89 MB / 11.31 GB, free: 18.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02548/45.77, allocations: 1.626 MB / 11.31 GB, free: 17.56 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005489/45.77, allocations: 0.8686 MB / 11.31 GB, free: 16.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/45.77, allocations: 4 kB / 11.31 GB, free: 16.77 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.442/47.22, allocations: 127.8 MB / 11.44 GB, free: 95.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003337/47.22, allocations: 55.59 kB / 11.44 GB, free: 95.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5734/47.79, allocations: 147.3 MB / 11.58 GB, free: 94.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/47.81, allocations: 3.287 MB / 11.59 GB, free: 94.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.116/47.92, allocations: 57.2 MB / 11.64 GB, free: 73.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02637/47.95, allocations: 1.594 MB / 11.64 GB, free: 72.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006072/47.95, allocations: 0.8312 MB / 11.64 GB, free: 71.68 MB / 0.948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1038): * Single equations (assignments): 1024 * Array equations: 4 * 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.02042/47.97, allocations: 3.927 MB / 11.65 GB, free: 69.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009824/47.98, allocations: 1.459 MB / 11.65 GB, free: 68.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1989/48.18, allocations: 51.12 MB / 11.7 GB, free: 27.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001991/48.18, allocations: 98.61 kB / 11.7 GB, free: 27.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002237/48.18, allocations: 28 kB / 11.7 GB, free: 27.33 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189/49.37, allocations: 45.16 MB / 11.74 GB, free: 89.37 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.2759/49.65, allocations: 68.82 MB / 11.81 GB, free: 85.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001267/49.65, allocations: 7.906 kB / 11.81 GB, free: 85.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0109/49.66, allocations: 1.831 MB / 11.81 GB, free: 85.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1729/49.83, allocations: 42.69 MB / 11.85 GB, free: 85.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003574/49.84, allocations: 336.7 kB / 11.86 GB, free: 85.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04628/49.88, allocations: 23.39 MB / 11.88 GB, free: 79.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/49.88, allocations: 0 / 11.88 GB, free: 79.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2078/50.09, allocations: 59.01 MB / 11.94 GB, free: 79.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01941/50.11, allocations: 3.669 MB / 11.94 GB, free: 78.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01021/50.12, allocations: 253.2 kB / 11.94 GB, free: 78.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02234/50.14, allocations: 1.311 MB / 11.94 GB, free: 78.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004272/50.15, allocations: 0.5651 MB / 11.94 GB, free: 78.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003288/50.15, allocations: 355.5 kB / 11.94 GB, free: 78.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.03271/50.18, allocations: 10.81 MB / 11.95 GB, free: 78.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/50.18, allocations: 0 / 11.95 GB, free: 78.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.06402/50.25, allocations: 8.238 MB / 11.96 GB, free: 78.48 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpSouth.filter.s[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],pmpNorth.filter.s[2],valSouth1[1].filter.s[1],valSouth1[1].filter.s[2],valSouth1[2].filter.s[1],valSouth1[2].filter.s[2],valSouth1[3].filter.s[1],valSouth1[3].filter.s[2],valSouth1[4].filter.s[1],valSouth1[4].filter.s[2],valSouth2[1].filter.s[1],valSouth2[1].filter.s[2],valSouth2[2].filter.s[1],valSouth2[2].filter.s[2],valSouth2[3].filter.s[1],valSouth2[3].filter.s[2],valSouth2[4].filter.s[1],valSouth2[4].filter.s[2],valSouth2[5].filter.s[1],valSouth2[5].filter.s[2],valSouth2[6].filter.s[1],valSouth2[6].filter.s[2],valSouth2[7].filter.s[1],valSouth2[7].filter.s[2],valSouth2[8].filter.s[1],valSouth2[8].filter.s[2],valNorth1[1].filter.s[1],valNorth1[1].filter.s[2],valNorth1[2].filter.s[1],valNorth1[2].filter.s[2],valNorth1[3].filter.s[1],valNorth1[3].filter.s[2],valNorth1[4].filter.s[1],valNorth1[4].filter.s[2],valNorth2[1].filter.s[1],valNorth2[1].filter.s[2],valNorth2[2].filter.s[1],valNorth2[2].filter.s[2],valNorth2[3].filter.s[1],valNorth2[3].filter.s[2],valNorth2[4].filter.s[1],valNorth2[4].filter.s[2],valNorth2[5].filter.s[1],valNorth2[5].filter.s[2],valNorth2[6].filter.s[1],valNorth2[6].filter.s[2],valNorth2[7].filter.s[1],valNorth2[7].filter.s[2],valNorth2[8].filter.s[1],valNorth2[8].filter.s[2],valSouth.vol.dynBal.U,valSouth.filter.s[1],valSouth.filter.s[2],valNorth.vol.dynBal.U,valNorth.filter.s[1],valNorth.filter.s[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],pumpHea.filter.s[2],valHea.filter.s[1],valHea.filter.s[2],valCoo.filter.s[1],valCoo.filter.s[2],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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (737): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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 {7 83,1 1,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01291/50.26, allocations: 5.421 MB / 11.97 GB, free: 75.81 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.09753/50.36, allocations: 40.25 MB / 12 GB, free: 55.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/50.36, allocations: 7.625 kB / 12 GB, free: 55.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02725/50.38, allocations: 11.46 MB / 12.02 GB, free: 49.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06514/50.45, allocations: 7.206 MB / 12.02 GB, free: 46.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09852/50.55, allocations: 40.33 MB / 12.06 GB, free: 14.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.811/52.36, allocations: 8.856 MB / 12.07 GB, free: 90.33 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03019/52.39, allocations: 5.555 MB / 12.08 GB, free: 90.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009342/52.4, allocations: 1.247 MB / 12.08 GB, free: 90.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.814e-06/52.4, allocations: 0 / 12.08 GB, free: 90.2 MB / 0.948 GB Notification: Performance of Templates: time 1.732/54.13, allocations: 414.4 MB / 12.48 GB, free: 116.8 MB / 0.9949 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)