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: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001513/0.001513, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8855/0.8855, allocations: 133.6 MB / 141.6 MB, free: 2.934 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 395.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008208/0.0008209, allocations: 104.3 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.642e-05, allocations: 4 kB / 0.5535 GB, free: 9.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4718, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.474, allocations: 423.7 MB / 1.048 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.474, allocations: 94.12 kB / 1.048 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 43.65/45.13, allocations: 9.515 GB / 10.56 GB, free: 9.246 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.936e-06/45.13, allocations: 0 / 10.56 GB, free: 9.246 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003943/45.13, allocations: 431.5 kB / 10.56 GB, free: 8.824 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 1.995/47.13, allocations: 13.47 MB / 10.58 GB, free: 35.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/47.13, allocations: 10 kB / 10.58 GB, free: 35.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/47.14, allocations: 2.189 MB / 10.58 GB, free: 34.76 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07497/47.22, allocations: 21.55 MB / 10.6 GB, free: 32.85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006402/47.22, allocations: 254.6 kB / 10.6 GB, free: 32.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00507/47.23, allocations: 0.5828 MB / 10.6 GB, free: 32.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03701/47.26, allocations: 19.57 MB / 10.62 GB, free: 32.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04677/47.31, allocations: 14.39 MB / 10.63 GB, free: 32.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005025/47.31, allocations: 10.97 kB / 10.63 GB, free: 32.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004745/47.31, allocations: 8.25 kB / 10.63 GB, free: 32.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005342/47.32, allocations: 376.9 kB / 10.63 GB, free: 32.04 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.1696/47.49, allocations: 78.57 MB / 10.71 GB, free: 14.11 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02005/47.51, allocations: 12.4 MB / 10.72 GB, free: 13.68 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01475/47.52, allocations: 9.745 MB / 10.73 GB, free: 13.59 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.07917/47.6, allocations: 33.5 MB / 10.76 GB, free: 20.71 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01694/47.62, allocations: 9.006 MB / 10.77 GB, free: 20.56 MB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04909/47.67, allocations: 14.92 MB / 10.79 GB, free: 20.29 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=593): time 6.9e-05/47.67, allocations: 0 / 10.79 GB, free: 20.29 MB / 0.9793 GB Notification: Performance of matching and sorting (n=595): time 0.6525/48.32, allocations: 138.8 MB / 10.92 GB, free: 3.66 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/48.32, allocations: 113.4 kB / 10.92 GB, free: 3.535 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.183/49.5, allocations: 14.22 MB / 10.94 GB, free: 67.85 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.004304/49.5, allocations: 38.52 kB / 10.94 GB, free: 67.82 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01232/49.52, allocations: 7.324 MB / 10.94 GB, free: 67.58 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.005957/49.52, allocations: 2.036 MB / 10.95 GB, free: 67.41 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003616/49.53, allocations: 1 kB / 10.95 GB, free: 67.41 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0008723/49.53, allocations: 0.6391 MB / 10.95 GB, free: 67.09 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01514/49.54, allocations: 7.95 MB / 10.96 GB, free: 67.07 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01809/49.56, allocations: 10.7 MB / 10.97 GB, free: 63.93 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01916/49.58, allocations: 9.287 MB / 10.97 GB, free: 63.81 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001784/49.58, allocations: 16.81 kB / 10.97 GB, free: 63.81 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1089) (initialization): time 0.6135/50.19, allocations: 123 MB / 11.09 GB, free: 62.36 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.0123/50.21, allocations: 36.81 MB / 11.13 GB, free: 39.64 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004575/50.21, allocations: 54.48 kB / 11.13 GB, free: 39.64 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6269/50.83, allocations: 143.1 MB / 11.27 GB, free: 2.832 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01559/50.85, allocations: 2.647 MB / 11.27 GB, free: 356 kB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302/52.15, allocations: 65.56 MB / 11.34 GB, free: 106.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02484/52.18, allocations: 1.051 MB / 11.34 GB, free: 106.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005392/52.18, allocations: 0.7902 MB / 11.34 GB, free: 106.1 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/52.18, allocations: 6.312 kB / 11.34 GB, free: 106.1 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5985/52.78, allocations: 120.5 MB / 11.46 GB, free: 105.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002944/52.78, allocations: 54.41 kB / 11.46 GB, free: 105.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.615/53.4, allocations: 143.2 MB / 11.6 GB, free: 74.85 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01233/53.41, allocations: 2.639 MB / 11.6 GB, free: 72.38 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1392/53.55, allocations: 68.22 MB / 11.67 GB, free: 22.61 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02236/53.57, allocations: 1.017 MB / 11.67 GB, free: 21.66 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004991/53.58, allocations: 0.7551 MB / 11.67 GB, free: 20.98 MB / 1.026 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 (913): * Single equations (assignments): 901 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * 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: 1 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007145/53.58, allocations: 316.8 kB / 11.67 GB, free: 20.82 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007075/53.59, allocations: 1.391 MB / 11.67 GB, free: 20.18 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.179/54.77, allocations: 43.46 MB / 11.71 GB, free: 101.1 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001735/54.77, allocations: 67.72 kB / 11.71 GB, free: 101.1 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001068/54.77, allocations: 35.05 kB / 11.71 GB, free: 101.1 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1689/54.94, allocations: 38.37 MB / 11.75 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2115/55.15, allocations: 57.64 MB / 11.81 GB, free: 96.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.838e-05/55.15, allocations: 1.406 kB / 11.81 GB, free: 96.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007227/55.16, allocations: 1.164 MB / 11.81 GB, free: 96.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.179/55.34, allocations: 40.48 MB / 11.85 GB, free: 96.54 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002793/55.34, allocations: 151 kB / 11.85 GB, free: 96.54 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0546/55.39, allocations: 25.83 MB / 11.87 GB, free: 91.84 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/55.39, allocations: 0 / 11.87 GB, free: 91.84 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1935/55.59, allocations: 48.85 MB / 11.92 GB, free: 90.63 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01609/55.6, allocations: 3.246 MB / 11.92 GB, free: 90.32 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008778/55.61, allocations: 73.06 kB / 11.92 GB, free: 90.32 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02555/55.64, allocations: 0.7983 MB / 11.92 GB, free: 90.29 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004005/55.64, allocations: 433 kB / 11.92 GB, free: 90.29 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002833/55.64, allocations: 261.8 kB / 11.92 GB, free: 90.29 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0348/55.68, allocations: 10.07 MB / 11.93 GB, free: 88.74 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.934e-06/55.68, allocations: 4.75 kB / 11.93 GB, free: 88.74 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.06385/55.74, allocations: 7.881 MB / 11.94 GB, free: 81.4 MB / 1.026 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],pumpCoo.filter.s[2]) * 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 (551): * Single equations (assignments): 531 * 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: 2 * 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: 1 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01192/55.76, allocations: 5.221 MB / 11.95 GB, free: 77.32 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.06856/55.82, allocations: 32.51 MB / 11.98 GB, free: 60.76 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/55.82, allocations: 4 kB / 11.98 GB, free: 60.76 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01807/55.84, allocations: 8.333 MB / 11.99 GB, free: 56.57 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04105/55.88, allocations: 6.969 MB / 11.99 GB, free: 53.01 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05523/55.94, allocations: 26.41 MB / 12.02 GB, free: 33.81 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01054/55.95, allocations: 8.523 MB / 12.03 GB, free: 28.79 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.04649/56, allocations: 8.054 MB / 12.04 GB, free: 24.24 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00604/56, allocations: 0.7888 MB / 12.04 GB, free: 23.57 MB / 1.026 GB Notification: Performance of SimCode: time 1.493e-06/56, allocations: 0 / 12.04 GB, free: 23.57 MB / 1.026 GB Notification: Performance of Templates: time 2.491/58.49, allocations: 407.6 MB / 12.43 GB, free: 133.6 MB / 1.073 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)