Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.242/2.242, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 182.2 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.4 MB / 0.5772 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009111/0.0009109, allocations: 94.03 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004654, allocations: 11.88 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1868, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.051/1.238, allocations: 329.5 MB / 1.221 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1546/1.393, allocations: 72.83 MB / 1.292 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01597/1.409, allocations: 373.2 kB / 1.293 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01915/1.428, allocations: 3.96 MB / 1.297 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.04464/1.473, allocations: 10.66 MB / 1.307 GB, free: 12.51 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.04009/1.513, allocations: 9.632 MB / 1.316 GB, free: 2.996 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.07984/1.593, allocations: 42.66 MB / 1.358 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03941/1.632, allocations: 16.96 MB / 1.375 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03911/1.671, allocations: 13.97 MB / 1.388 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.494/3.165, allocations: 14.6 MB / 1.403 GB, free: 36.09 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.009349/3.175, allocations: 1.058 MB / 1.404 GB, free: 36.09 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02318/3.198, allocations: 3.719 MB / 1.407 GB, free: 36.09 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.01252/3.211, allocations: 4.882 MB / 1.412 GB, free: 36.09 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01098/3.222, allocations: 3.373 MB / 1.415 GB, free: 36.06 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.03815/3.26, allocations: 22.09 MB / 1.437 GB, free: 35.23 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/3.26, allocations: 0 / 1.437 GB, free: 35.23 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.915e-06/3.26, allocations: 3 kB / 1.437 GB, free: 35.23 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.001032/3.261, allocations: 3.5 kB / 1.437 GB, free: 35.23 MB / 0.9012 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.08385/3.345, allocations: 20.65 MB / 1.457 GB, free: 27.95 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/3.345, allocations: 10.03 kB / 1.457 GB, free: 27.95 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/3.361, allocations: 2.378 MB / 1.459 GB, free: 26.94 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05063/3.412, allocations: 15.07 MB / 1.474 GB, free: 24.81 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/3.413, allocations: 0.7202 MB / 1.475 GB, free: 24.79 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006568/3.42, allocations: 0.9946 MB / 1.476 GB, free: 24.77 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05646/3.476, allocations: 17.15 MB / 1.492 GB, free: 23.2 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005369/3.477, allocations: 23.59 kB / 1.493 GB, free: 23.2 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005182/3.482, allocations: 353.5 kB / 1.493 GB, free: 23.2 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/3.482, allocations: 209.3 kB / 1.493 GB, free: 23.2 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05479/3.537, allocations: 20.48 MB / 1.513 GB, free: 20.42 MB / 0.9012 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.2123/3.75, allocations: 82.57 MB / 1.594 GB, free: 13.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03152/3.781, allocations: 12.29 MB / 1.606 GB, free: 6.711 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0247/3.806, allocations: 9.771 MB / 1.615 GB, free: 0.9414 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 preOpt evalFunc (simulation): time 0.1204/3.926, allocations: 35.23 MB / 1.65 GB, free: 5.766 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02748/3.954, allocations: 9.619 MB / 1.659 GB, free: 15.26 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05482/4.009, allocations: 9.991 MB / 1.669 GB, free: 5.977 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=555): time 3.712e-05/4.009, allocations: 0 / 1.669 GB, free: 5.977 MB / 0.9949 GB Notification: Performance of matching and sorting (n=764): time 3.047/7.056, allocations: 200.9 MB / 1.865 GB, free: 468.3 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006197/7.056, allocations: 2.571 MB / 1.867 GB, free: 465.2 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0377/7.094, allocations: 15.46 MB / 1.883 GB, free: 459.2 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.00477/7.099, allocations: 244.2 kB / 1.883 GB, free: 459.1 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01126/7.11, allocations: 7.798 MB / 1.89 GB, free: 453.7 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.006466/7.117, allocations: 2.663 MB / 1.893 GB, free: 452.9 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004321/7.121, allocations: 201.1 kB / 1.893 GB, free: 452.7 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0009494/7.122, allocations: 0.7359 MB / 1.894 GB, free: 452.1 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03129/7.153, allocations: 10.74 MB / 1.904 GB, free: 442.8 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03473/7.188, allocations: 14.14 MB / 1.918 GB, free: 427.3 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03467/7.223, allocations: 12.02 MB / 1.93 GB, free: 415.2 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.075e-05/7.223, allocations: 20 kB / 1.93 GB, free: 415.2 MB / 1.104 GB Notification: Performance of matching and sorting (n=1386) (initialization): time 1.314/8.537, allocations: 127.6 MB / 2.055 GB, free: 287.4 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009709/8.538, allocations: 1.789 MB / 2.056 GB, free: 284.9 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003075/8.538, allocations: 103.9 kB / 2.056 GB, free: 284.8 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368/9.906, allocations: 143.5 MB / 2.197 GB, free: 141.1 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02816/9.934, allocations: 2.617 MB / 2.199 GB, free: 138.4 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3862/10.32, allocations: 78.76 MB / 2.276 GB, free: 59.31 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04575/10.37, allocations: 1.289 MB / 2.277 GB, free: 58.06 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0074/10.37, allocations: 0.8675 MB / 2.278 GB, free: 57.2 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/10.37, allocations: 5.406 kB / 2.278 GB, free: 57.19 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.931/12.3, allocations: 126.2 MB / 2.401 GB, free: 438.9 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003633/12.31, allocations: 105.5 kB / 2.401 GB, free: 438.8 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357/13.66, allocations: 143.3 MB / 2.541 GB, free: 311.4 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02338/13.69, allocations: 2.6 MB / 2.544 GB, free: 308.9 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2846/13.97, allocations: 82.76 MB / 2.625 GB, free: 226.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03205/14, allocations: 1.27 MB / 2.626 GB, free: 224.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005357/14.01, allocations: 0.8285 MB / 2.627 GB, free: 224 MB / 1.104 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,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$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 (1062): * Single equations (assignments): 984 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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.01743/14.03, allocations: 4.238 MB / 2.631 GB, free: 219.8 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007402/14.03, allocations: 1.533 MB / 2.632 GB, free: 219.1 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3613/14.39, allocations: 51.06 MB / 2.682 GB, free: 168.1 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3335/14.73, allocations: 45.09 MB / 2.726 GB, free: 122.9 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.399e-05/14.73, allocations: 7.938 kB / 2.726 GB, free: 122.9 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01412/14.74, allocations: 3.309 MB / 2.729 GB, free: 120.3 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007761/14.75, allocations: 263.9 kB / 2.73 GB, free: 120.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02587/14.78, allocations: 1.105 MB / 2.731 GB, free: 119 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007418/14.78, allocations: 0.9819 MB / 2.732 GB, free: 118 MB / 1.104 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.119/14.9, allocations: 26.07 MB / 2.757 GB, free: 92.07 MB / 1.104 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08699/14.99, allocations: 29.09 MB / 2.786 GB, free: 62.91 MB / 1.104 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02391/15.01, allocations: 9.081 MB / 2.795 GB, free: 53.81 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02535/15.04, allocations: 10.46 MB / 2.805 GB, free: 43.45 MB / 1.104 GB Notification: Performance of Backend: time 1.052e-06/15.04, allocations: 0 / 2.805 GB, free: 43.45 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.7979/15.84, allocations: 37.67 MB / 2.842 GB, free: 469.1 MB / 1.104 GB Notification: Performance of SimCode: time 0.1177/15.95, allocations: 42.63 MB / 2.883 GB, free: 453.8 MB / 1.104 GB Notification: Performance of Templates: time 1.048/17, allocations: 459.1 MB / 3.332 GB, free: 32.83 MB / 1.104 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)