Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.52/2.52, allocations: 287.5 MB / 303.2 MB, free: 8.195 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.001363/0.001362, allocations: 174.6 kB / 371.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 0.6305 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000957/0.0009562, allocations: 95.33 kB / 0.7438 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004733, allocations: 10.56 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.087/2.311, allocations: 465.6 MB / 1.434 GB, free: 337 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003811/2.311, allocations: 105.5 kB / 1.434 GB, free: 337 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 56.67/58.98, allocations: 10.24 GB / 11.67 GB, free: 92.09 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.746e-06/58.98, allocations: 0 / 11.67 GB, free: 92.09 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003482/58.98, allocations: 349.5 kB / 11.67 GB, free: 92.03 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.09584/59.08, allocations: 17.39 MB / 11.69 GB, free: 85.92 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/59.08, allocations: 9.031 kB / 11.69 GB, free: 85.92 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01873/59.1, allocations: 2.219 MB / 11.69 GB, free: 85.13 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09439/59.19, allocations: 19.05 MB / 11.71 GB, free: 82.49 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009618/59.19, allocations: 0.527 MB / 11.71 GB, free: 82.48 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004453/59.2, allocations: 0.7084 MB / 11.71 GB, free: 82.48 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04445/59.24, allocations: 13.38 MB / 11.72 GB, free: 81.88 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000493/59.24, allocations: 9.625 kB / 11.72 GB, free: 81.87 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004555/59.25, allocations: 245 kB / 11.73 GB, free: 81.87 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002293/59.25, allocations: 158.5 kB / 11.73 GB, free: 81.87 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04842/59.3, allocations: 17.98 MB / 11.74 GB, free: 81.82 MB / 1.214 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.1759/59.47, allocations: 69.95 MB / 11.81 GB, free: 49.98 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02463/59.5, allocations: 9.762 MB / 11.82 GB, free: 49.83 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02016/59.52, allocations: 8.632 MB / 11.83 GB, free: 49.77 MB / 1.214 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.09412/59.61, allocations: 29.39 MB / 11.86 GB, free: 41.66 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02223/59.63, allocations: 8.308 MB / 11.87 GB, free: 41.54 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07954/59.71, allocations: 15.22 MB / 11.88 GB, free: 41.04 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 3.632e-05/59.71, allocations: 0 / 11.88 GB, free: 41.04 MB / 1.214 GB Notification: Performance of matching and sorting (n=581): time 0.9475/60.66, allocations: 126.7 MB / 12 GB, free: 29.91 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/60.66, allocations: 117.5 kB / 12 GB, free: 29.84 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0381/60.7, allocations: 13.3 MB / 12.02 GB, free: 23.16 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004097/60.7, allocations: 185.7 kB / 12.02 GB, free: 22.97 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01021/60.71, allocations: 6.027 MB / 12.02 GB, free: 17.47 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005192/60.72, allocations: 1.947 MB / 12.03 GB, free: 15.71 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00369/60.72, allocations: 148 kB / 12.03 GB, free: 15.56 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007207/60.72, allocations: 0.5905 MB / 12.03 GB, free: 15.05 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02768/60.75, allocations: 8.633 MB / 12.03 GB, free: 7.984 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03092/60.78, allocations: 11.26 MB / 12.05 GB, free: 13.39 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.29/62.07, allocations: 20.46 MB / 12.07 GB, free: 104.1 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.995e-05/62.07, allocations: 13.31 kB / 12.07 GB, free: 104.1 MB / 1.229 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.1209/62.19, allocations: 28.73 MB / 12.09 GB, free: 103.8 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001208/62.19, allocations: 1.535 MB / 12.1 GB, free: 102 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/62.19, allocations: 48 kB / 12.1 GB, free: 102 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58/63.77, allocations: 171.8 MB / 12.26 GB, free: 100.9 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0198/63.79, allocations: 1.863 MB / 12.26 GB, free: 100.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08452/63.88, allocations: 27.38 MB / 12.29 GB, free: 95.74 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03189/63.91, allocations: 1.284 MB / 12.29 GB, free: 95.68 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005215/63.92, allocations: 0.8015 MB / 12.29 GB, free: 95.68 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/63.92, allocations: 6.219 kB / 12.29 GB, free: 95.68 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.104/64.02, allocations: 27.4 MB / 12.32 GB, free: 95.16 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002518/64.02, allocations: 45.56 kB / 12.32 GB, free: 95.16 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564/65.58, allocations: 171.6 MB / 12.49 GB, free: 0.7617 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01771/65.6, allocations: 1.838 MB / 12.49 GB, free: 15.05 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1158/65.72, allocations: 31.76 MB / 12.52 GB, free: 7.359 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03159/65.75, allocations: 1.252 MB / 12.52 GB, free: 6.289 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00526/65.76, allocations: 0.7605 MB / 12.52 GB, free: 5.586 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (662): * Single equations (assignments): 648 * 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 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 1.206/66.96, allocations: 3.093 MB / 12.53 GB, free: 152.5 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006925/66.97, allocations: 1.204 MB / 12.53 GB, free: 152.5 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1783/67.15, allocations: 30.89 MB / 12.56 GB, free: 152 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002274/67.15, allocations: 74.02 kB / 12.56 GB, free: 152 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/67.15, allocations: 3.562 kB / 12.56 GB, free: 152 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1445/67.29, allocations: 25.32 MB / 12.58 GB, free: 151.4 MB / 1.276 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.2071/67.5, allocations: 50.42 MB / 12.63 GB, free: 145 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001099/67.5, allocations: 6.312 kB / 12.63 GB, free: 145 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01218/67.51, allocations: 1.244 MB / 12.63 GB, free: 145 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4014/67.91, allocations: 50.01 MB / 12.68 GB, free: 144.9 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002384/67.91, allocations: 203.6 kB / 12.68 GB, free: 144.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04252/67.96, allocations: 15.48 MB / 12.7 GB, free: 139.8 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/67.96, allocations: 12.16 kB / 12.7 GB, free: 139.8 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1218/68.08, allocations: 32.58 MB / 12.73 GB, free: 138.7 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01345/68.09, allocations: 2.936 MB / 12.73 GB, free: 138.6 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006752/68.1, allocations: 131.5 kB / 12.73 GB, free: 138.6 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02301/68.12, allocations: 1.001 MB / 12.73 GB, free: 138.5 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002955/68.13, allocations: 463.8 kB / 12.73 GB, free: 138.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001983/68.13, allocations: 297.3 kB / 12.73 GB, free: 138.5 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02504/68.15, allocations: 9.04 MB / 12.74 GB, free: 138.2 MB / 1.276 GB Notification: Performance of sort global known variables: time 8.41e-07/68.15, allocations: 0 / 12.74 GB, free: 138.2 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05958/68.21, allocations: 6.546 MB / 12.75 GB, free: 138.2 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (490): * Single equations (assignments): 468 * 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: 4 * 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: 0 * Non-linear torn systems: 4 {7 80,38 56,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01177/68.22, allocations: 4.946 MB / 12.75 GB, free: 136.3 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1464/68.37, allocations: 35.7 MB / 12.79 GB, free: 135.6 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/68.37, allocations: 5.406 kB / 12.79 GB, free: 135.6 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.03866/68.41, allocations: 10.03 MB / 12.8 GB, free: 135.4 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08447/68.49, allocations: 6.275 MB / 12.8 GB, free: 135.3 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08237/68.58, allocations: 30.11 MB / 12.83 GB, free: 124.1 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01599/68.59, allocations: 6.909 MB / 12.84 GB, free: 123 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.02848/68.62, allocations: 3.75 MB / 12.84 GB, free: 121.6 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006842/68.63, allocations: 0.9848 MB / 12.84 GB, free: 120.8 MB / 1.276 GB Notification: Performance of SimCode: time 2.565e-06/68.63, allocations: 0 / 12.84 GB, free: 120.8 MB / 1.276 GB Notification: Performance of Templates: time 3.265/71.89, allocations: 412.2 MB / 13.25 GB, free: 136.8 MB / 1.276 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)