Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.411/2.411, allocations: 284.8 MB / 297.3 MB, free: 6.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 192.6 kB / 365.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.1 MB / 0.6241 GB, free: 8.16 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 97.34 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.46e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7848, allocations: 115.2 MB / 0.97 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.366/2.151, allocations: 464.7 MB / 1.424 GB, free: 92.58 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/2.151, allocations: 98.53 kB / 1.424 GB, free: 92.54 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 58.28/60.43, allocations: 10.33 GB / 11.75 GB, free: 65.12 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.916e-06/60.43, allocations: 0 / 11.75 GB, free: 65.12 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003828/60.43, allocations: 387.6 kB / 11.75 GB, free: 65.04 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.06168/60.49, allocations: 12.11 MB / 11.76 GB, free: 59.53 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/60.49, allocations: 10.91 kB / 11.76 GB, free: 59.53 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01841/60.51, allocations: 2.188 MB / 11.77 GB, free: 58.64 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09227/60.61, allocations: 20.06 MB / 11.79 GB, free: 56.1 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/60.61, allocations: 0.6024 MB / 11.79 GB, free: 56.09 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005192/60.61, allocations: 0.8094 MB / 11.79 GB, free: 56.08 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05047/60.66, allocations: 13.99 MB / 11.8 GB, free: 55.25 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005806/60.66, allocations: 14.5 kB / 11.8 GB, free: 55.24 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004248/60.67, allocations: 290.7 kB / 11.8 GB, free: 55.24 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/60.67, allocations: 183 kB / 11.8 GB, free: 55.24 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04902/60.72, allocations: 18.06 MB / 11.82 GB, free: 50.24 MB / 1.229 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.2467/60.96, allocations: 74.19 MB / 11.89 GB, free: 1.562 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 1.252/62.22, allocations: 9.807 MB / 11.9 GB, free: 94.09 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02045/62.24, allocations: 8.483 MB / 11.91 GB, free: 94.06 MB / 1.245 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.09644/62.33, allocations: 30.27 MB / 11.94 GB, free: 85.93 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.021/62.35, allocations: 8.097 MB / 11.95 GB, free: 85.81 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08436/62.44, allocations: 14.98 MB / 11.96 GB, free: 85.81 MB / 1.245 GB Notification: Performance of pre-optimization done (n=427): time 4.11e-05/62.44, allocations: 1.406 kB / 11.96 GB, free: 85.81 MB / 1.245 GB Notification: Performance of matching and sorting (n=613): time 0.4046/62.84, allocations: 73.42 MB / 12.03 GB, free: 79.14 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.795e-05/62.84, allocations: 119.8 kB / 12.03 GB, free: 79.07 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03803/62.88, allocations: 12.6 MB / 12.05 GB, free: 78.34 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.004163/62.88, allocations: 195 kB / 12.05 GB, free: 78.3 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01153/62.9, allocations: 6.663 MB / 12.05 GB, free: 77.18 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.005532/62.9, allocations: 2.073 MB / 12.05 GB, free: 76.12 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003744/62.91, allocations: 158.4 kB / 12.05 GB, free: 76.12 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0007895/62.91, allocations: 0.6136 MB / 12.06 GB, free: 75.8 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02116/62.93, allocations: 7.82 MB / 12.06 GB, free: 75.79 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02511/62.95, allocations: 10.6 MB / 12.07 GB, free: 72.66 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03247/62.99, allocations: 8.799 MB / 12.08 GB, free: 72.49 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/62.99, allocations: 15.44 kB / 12.08 GB, free: 72.49 MB / 1.245 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.0976/63.08, allocations: 25.95 MB / 12.11 GB, free: 71.42 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.006474/63.09, allocations: 34.78 MB / 12.14 GB, free: 35.38 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002406/63.09, allocations: 51.47 kB / 12.14 GB, free: 35.38 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345/64.44, allocations: 146.4 MB / 12.28 GB, free: 29.99 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02155/64.46, allocations: 1.957 MB / 12.29 GB, free: 28.61 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07283/64.53, allocations: 24.61 MB / 12.31 GB, free: 13.74 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03386/64.56, allocations: 1.362 MB / 12.31 GB, free: 12.93 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005334/64.57, allocations: 0.8141 MB / 12.31 GB, free: 12.45 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/64.57, allocations: 4.625 kB / 12.31 GB, free: 12.45 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08162/64.65, allocations: 24.92 MB / 12.34 GB, free: 0.5664 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002344/64.65, allocations: 52 kB / 12.34 GB, free: 0.5156 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654/67.3, allocations: 146.8 MB / 12.48 GB, free: 103.3 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01852/67.32, allocations: 1.95 MB / 12.48 GB, free: 103.3 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09792/67.42, allocations: 28.86 MB / 12.51 GB, free: 99.55 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03271/67.45, allocations: 1.33 MB / 12.51 GB, free: 99.55 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004995/67.46, allocations: 0.7692 MB / 12.51 GB, free: 99.55 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * 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: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007869/67.47, allocations: 0.5552 MB / 12.51 GB, free: 99.45 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00769/67.47, allocations: 1.293 MB / 12.51 GB, free: 99.45 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1392/67.61, allocations: 26.7 MB / 12.54 GB, free: 98.91 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000177/67.61, allocations: 75.92 kB / 12.54 GB, free: 98.91 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/67.61, allocations: 0 / 12.54 GB, free: 98.91 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.104/67.72, allocations: 21.13 MB / 12.56 GB, free: 98.41 MB / 1.26 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 postOpt removeSimpleEquations (simulation): time 0.3187/68.04, allocations: 59.97 MB / 12.62 GB, free: 91.94 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001197/68.04, allocations: 12 kB / 12.62 GB, free: 91.93 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01392/68.05, allocations: 1.359 MB / 12.62 GB, free: 91.92 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3483/68.4, allocations: 41.91 MB / 12.66 GB, free: 91.64 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00231/68.4, allocations: 209.6 kB / 12.66 GB, free: 91.64 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03413/68.44, allocations: 13.64 MB / 12.68 GB, free: 86.46 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/68.44, allocations: 12.31 kB / 12.68 GB, free: 86.46 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1741/68.61, allocations: 38.63 MB / 12.71 GB, free: 69.45 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01446/68.62, allocations: 3.095 MB / 12.72 GB, free: 67.62 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006824/68.63, allocations: 132.9 kB / 12.72 GB, free: 67.59 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02465/68.66, allocations: 1.054 MB / 12.72 GB, free: 66.95 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002935/68.66, allocations: 474.9 kB / 12.72 GB, free: 66.72 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001985/68.66, allocations: 304.6 kB / 12.72 GB, free: 66.52 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02729/68.69, allocations: 9.609 MB / 12.73 GB, free: 61.11 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.453e-06/68.69, allocations: 1.641 kB / 12.73 GB, free: 61.11 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.07158/68.76, allocations: 7.171 MB / 12.73 GB, free: 54.86 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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: 0 * Non-linear torn systems: 3 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01446/68.77, allocations: 5.543 MB / 12.74 GB, free: 50.23 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.1117/68.89, allocations: 32.94 MB / 12.77 GB, free: 33.4 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/68.89, allocations: 4 kB / 12.77 GB, free: 33.39 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.02869/68.92, allocations: 8.934 MB / 12.78 GB, free: 28.86 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05768/68.97, allocations: 6.819 MB / 12.79 GB, free: 25.11 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06609/69.04, allocations: 22.87 MB / 12.81 GB, free: 8.164 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01574/69.05, allocations: 7.677 MB / 12.82 GB, free: 3.457 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.05719/69.11, allocations: 7.266 MB / 12.82 GB, free: 0 / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007987/69.12, allocations: 0.95 MB / 12.82 GB, free: 15.66 MB / 1.276 GB Notification: Performance of SimCode: time 1.623e-06/69.12, allocations: 4 kB / 12.82 GB, free: 15.66 MB / 1.276 GB Notification: Performance of Templates: time 3.728/72.85, allocations: 450.7 MB / 13.27 GB, free: 5.938 MB / 1.323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)