Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 285.4 MB / 298 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 176.8 kB / 366.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 0.6248 GB, free: 7.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008709/0.0008709, allocations: 102 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.023e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7377, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.934, allocations: 464 MB / 1.424 GB, free: 92.29 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.934, allocations: 93.95 kB / 1.424 GB, free: 92.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 38.61/40.54, allocations: 8.697 GB / 10.12 GB, free: 97.1 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.074e-06/40.54, allocations: 0 / 10.12 GB, free: 97.1 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003792/40.55, allocations: 0.5104 MB / 10.12 GB, free: 97 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.06128/40.61, allocations: 14.15 MB / 10.14 GB, free: 91.3 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/40.61, allocations: 7.906 kB / 10.14 GB, free: 91.3 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01884/40.63, allocations: 2.309 MB / 10.14 GB, free: 90.29 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08653/40.71, allocations: 23.26 MB / 10.16 GB, free: 87.71 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001409/40.71, allocations: 0.7155 MB / 10.16 GB, free: 87.69 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007865/40.72, allocations: 1.016 MB / 10.16 GB, free: 87.67 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05507/40.78, allocations: 16.62 MB / 10.18 GB, free: 85.82 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005872/40.78, allocations: 18.12 kB / 10.18 GB, free: 85.82 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005501/40.78, allocations: 358 kB / 10.18 GB, free: 85.82 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002722/40.78, allocations: 216.4 kB / 10.18 GB, free: 85.82 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04153/40.82, allocations: 19.46 MB / 10.2 GB, free: 85.75 MB / 1.214 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.1717/41, allocations: 79.35 MB / 10.28 GB, free: 52.25 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02243/41.02, allocations: 11.67 MB / 10.29 GB, free: 51.81 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01403/41.03, allocations: 8.983 MB / 10.3 GB, free: 51.74 MB / 1.214 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.0836/41.12, allocations: 33.24 MB / 10.33 GB, free: 43.07 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0188/41.14, allocations: 9.142 MB / 10.34 GB, free: 42.89 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04949/41.18, allocations: 15.14 MB / 10.35 GB, free: 42.39 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 6.836e-05/41.18, allocations: 0 / 10.35 GB, free: 42.39 MB / 1.214 GB Notification: Performance of matching and sorting (n=812): time 0.7577/41.94, allocations: 171.1 MB / 10.52 GB, free: 19.77 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007652/41.94, allocations: 2.533 MB / 10.52 GB, free: 16.68 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03853/41.98, allocations: 14.74 MB / 10.54 GB, free: 6.848 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005309/41.99, allocations: 266.8 kB / 10.54 GB, free: 6.586 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01106/42, allocations: 7.906 MB / 10.54 GB, free: 15.37 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.006855/42.01, allocations: 2.823 MB / 10.55 GB, free: 12.81 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004594/42.01, allocations: 213.5 kB / 10.55 GB, free: 12.61 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001181/42.01, allocations: 0.7443 MB / 10.55 GB, free: 11.99 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02062/42.03, allocations: 9.551 MB / 10.56 GB, free: 3.691 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238/43.27, allocations: 14.96 MB / 10.57 GB, free: 96.74 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02633/43.3, allocations: 10.9 MB / 10.58 GB, free: 96.5 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002167/43.3, allocations: 14.84 kB / 10.58 GB, free: 96.5 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.6283/43.93, allocations: 128.3 MB / 10.71 GB, free: 95.54 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007804/43.93, allocations: 36.69 MB / 10.74 GB, free: 58.11 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005317/43.93, allocations: 118 kB / 10.74 GB, free: 58.11 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6144/44.55, allocations: 147.8 MB / 10.89 GB, free: 55.57 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0152/44.56, allocations: 2.697 MB / 10.89 GB, free: 55 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1384/44.7, allocations: 73.61 MB / 10.96 GB, free: 9.047 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02563/44.73, allocations: 1.55 MB / 10.96 GB, free: 7.754 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00546/44.73, allocations: 0.9186 MB / 10.96 GB, free: 6.922 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/44.73, allocations: 4 kB / 10.96 GB, free: 6.918 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.675/46.41, allocations: 127 MB / 11.09 GB, free: 140.8 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007191/46.41, allocations: 116.7 kB / 11.09 GB, free: 140.8 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8283/47.24, allocations: 147.5 MB / 11.23 GB, free: 140.3 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01396/47.25, allocations: 2.673 MB / 11.24 GB, free: 140.3 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1665/47.42, allocations: 77.35 MB / 11.31 GB, free: 135.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02743/47.44, allocations: 1.528 MB / 11.31 GB, free: 135.2 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005845/47.45, allocations: 0.8702 MB / 11.31 GB, free: 135.2 MB / 1.292 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 (1062): * Single equations (assignments): 982 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.008834/47.46, allocations: 0.7223 MB / 11.31 GB, free: 135.1 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008359/47.47, allocations: 1.553 MB / 11.32 GB, free: 135.1 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2136/47.68, allocations: 49.29 MB / 11.36 GB, free: 134 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000172/47.68, allocations: 98.69 kB / 11.36 GB, free: 134 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001108/47.68, allocations: 33.11 kB / 11.36 GB, free: 134 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1823/47.86, allocations: 43.28 MB / 11.41 GB, free: 106 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2239/48.09, allocations: 67.73 MB / 11.47 GB, free: 53.89 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.554e-05/48.09, allocations: 4.125 kB / 11.47 GB, free: 53.88 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01006/48.1, allocations: 1.841 MB / 11.47 GB, free: 52.16 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.301/49.4, allocations: 42.75 MB / 11.52 GB, free: 136.2 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003339/49.4, allocations: 344.3 kB / 11.52 GB, free: 136.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06373/49.47, allocations: 30.8 MB / 11.55 GB, free: 129.3 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/49.47, allocations: 1.938 kB / 11.55 GB, free: 129.3 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2067/49.67, allocations: 56.77 MB / 11.6 GB, free: 128 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01346/49.69, allocations: 3.656 MB / 11.61 GB, free: 127.9 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007726/49.69, allocations: 275.2 kB / 11.61 GB, free: 127.9 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01937/49.71, allocations: 1.333 MB / 11.61 GB, free: 127.9 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003689/49.72, allocations: 0.5858 MB / 11.61 GB, free: 127.9 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002275/49.72, allocations: 357.2 kB / 11.61 GB, free: 127.9 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02454/49.74, allocations: 11.26 MB / 11.62 GB, free: 127.3 MB / 1.292 GB Notification: Performance of sort global known variables: time 6.01e-07/49.74, allocations: 0 / 11.62 GB, free: 127.3 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05626/49.8, allocations: 8.803 MB / 11.63 GB, free: 127.3 MB / 1.292 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.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[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 (717): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01431/49.82, allocations: 5.634 MB / 11.63 GB, free: 125.4 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.09315/49.91, allocations: 42.86 MB / 11.67 GB, free: 122 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.283e-05/49.91, allocations: 12.28 kB / 11.67 GB, free: 122 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02495/49.93, allocations: 11.17 MB / 11.69 GB, free: 121.7 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04691/49.98, allocations: 7.768 MB / 11.69 GB, free: 121.5 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07299/50.05, allocations: 29.42 MB / 11.72 GB, free: 115.8 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01487/50.07, allocations: 9.433 MB / 11.73 GB, free: 114.7 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04095/50.11, allocations: 8.977 MB / 11.74 GB, free: 114.5 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005005/50.11, allocations: 0.9724 MB / 11.74 GB, free: 114.5 MB / 1.292 GB Notification: Performance of SimCode: time 2.355e-06/50.11, allocations: 3.969 kB / 11.74 GB, free: 114.5 MB / 1.292 GB Notification: Performance of Templates: time 2.937/53.05, allocations: 0.4941 GB / 12.24 GB, free: 139.8 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)