Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.328/2.328, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001318/0.001317, allocations: 162.5 kB / 326.2 MB, free: 2.887 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.435/2.435, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0008934/0.0008932, allocations: 95.8 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006262/0.0006263, allocations: 11.5 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1948, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 1.092/1.287, allocations: 329.4 MB / 1.221 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1602/1.447, allocations: 72.85 MB / 1.292 GB, free: 11.25 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01648/1.464, allocations: 369.2 kB / 1.293 GB, free: 10.89 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.0195/1.483, allocations: 3.968 MB / 1.297 GB, free: 6.898 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.04416/1.527, allocations: 10.64 MB / 1.307 GB, free: 12.22 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.04328/1.571, allocations: 9.647 MB / 1.316 GB, free: 2.691 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.09156/1.662, allocations: 42.77 MB / 1.358 GB, free: 7.793 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04224/1.704, allocations: 16.98 MB / 1.375 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04047/1.745, allocations: 14 MB / 1.388 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.501/3.246, allocations: 14.65 MB / 1.403 GB, free: 35.9 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.009794/3.255, allocations: 1.063 MB / 1.404 GB, free: 35.9 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02393/3.279, allocations: 3.727 MB / 1.407 GB, free: 35.9 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.01306/3.293, allocations: 4.901 MB / 1.412 GB, free: 35.9 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01136/3.304, allocations: 3.375 MB / 1.415 GB, free: 35.87 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.03933/3.343, allocations: 22.15 MB / 1.437 GB, free: 35.04 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/3.343, allocations: 0 / 1.437 GB, free: 35.04 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.976e-06/3.343, allocations: 1.75 kB / 1.437 GB, free: 35.04 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.001081/3.344, allocations: 3.469 kB / 1.437 GB, free: 35.04 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.08573/3.43, allocations: 20.68 MB / 1.457 GB, free: 27.76 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/3.43, allocations: 12.53 kB / 1.457 GB, free: 27.76 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01812/3.448, allocations: 2.378 MB / 1.46 GB, free: 26.75 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05192/3.5, allocations: 15.08 MB / 1.474 GB, free: 24.62 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001145/3.502, allocations: 0.7227 MB / 1.475 GB, free: 24.6 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00698/3.509, allocations: 0.995 MB / 1.476 GB, free: 24.58 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05929/3.568, allocations: 17.2 MB / 1.493 GB, free: 22.9 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005263/3.569, allocations: 8.594 kB / 1.493 GB, free: 22.9 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005543/3.574, allocations: 352.3 kB / 1.493 GB, free: 22.9 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002763/3.574, allocations: 221.7 kB / 1.493 GB, free: 22.89 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0572/3.632, allocations: 20.51 MB / 1.513 GB, free: 19.89 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.2568/3.889, allocations: 82.19 MB / 1.594 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03356/3.922, allocations: 12.55 MB / 1.606 GB, free: 6.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02438/3.947, allocations: 9.482 MB / 1.615 GB, free: 1.07 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.1226/4.069, allocations: 35.44 MB / 1.65 GB, free: 5.801 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02841/4.098, allocations: 9.724 MB / 1.659 GB, free: 15.2 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05425/4.152, allocations: 9.995 MB / 1.669 GB, free: 5.918 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=576): time 3.772e-05/4.152, allocations: 0 / 1.669 GB, free: 5.918 MB / 0.9949 GB Notification: Performance of matching and sorting (n=804): time 3.416/7.568, allocations: 204.9 MB / 1.869 GB, free: 246.2 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006548/7.569, allocations: 2.574 MB / 1.872 GB, free: 243.2 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03831/7.607, allocations: 15.45 MB / 1.887 GB, free: 239.6 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.005025/7.612, allocations: 251.8 kB / 1.887 GB, free: 239.6 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01187/7.624, allocations: 7.771 MB / 1.895 GB, free: 238.7 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.007052/7.631, allocations: 2.796 MB / 1.897 GB, free: 238.1 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004679/7.636, allocations: 214.4 kB / 1.898 GB, free: 238.1 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001015/7.637, allocations: 0.7423 MB / 1.898 GB, free: 237.7 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0323/7.669, allocations: 10.87 MB / 1.909 GB, free: 235.1 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03607/7.705, allocations: 14.31 MB / 1.923 GB, free: 223.6 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03618/7.741, allocations: 12.17 MB / 1.935 GB, free: 216 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/7.742, allocations: 12 kB / 1.935 GB, free: 216 MB / 1.104 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 1.308/9.049, allocations: 128.2 MB / 2.06 GB, free: 102.6 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009498/9.05, allocations: 1.727 MB / 2.062 GB, free: 100.3 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000295/9.05, allocations: 99.92 kB / 2.062 GB, free: 100.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969/11.02, allocations: 145.4 MB / 2.204 GB, free: 486.3 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02598/11.05, allocations: 2.627 MB / 2.206 GB, free: 486.3 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2744/11.32, allocations: 81.28 MB / 2.286 GB, free: 466 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03174/11.35, allocations: 1.26 MB / 2.287 GB, free: 465.9 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005492/11.36, allocations: 0.8796 MB / 2.288 GB, free: 465.8 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/11.36, allocations: 3.906 kB / 2.288 GB, free: 465.8 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.239/12.6, allocations: 126.7 MB / 2.412 GB, free: 350.2 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003985/12.6, allocations: 99.94 kB / 2.412 GB, free: 350.1 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326/13.92, allocations: 144.5 MB / 2.553 GB, free: 205.4 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02268/13.95, allocations: 2.59 MB / 2.555 GB, free: 202.8 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2866/14.23, allocations: 84.83 MB / 2.638 GB, free: 117.9 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03108/14.26, allocations: 1.242 MB / 2.639 GB, free: 116.7 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005335/14.27, allocations: 0.8343 MB / 2.64 GB, free: 115.9 MB / 1.136 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,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 (1054): * Single equations (assignments): 974 * 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.0171/14.29, allocations: 4.256 MB / 2.644 GB, free: 111.6 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006673/14.29, allocations: 1.543 MB / 2.646 GB, free: 110.9 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3589/14.65, allocations: 52.02 MB / 2.697 GB, free: 59 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9783/15.63, allocations: 45.93 MB / 2.741 GB, free: 467.4 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.909e-05/15.63, allocations: 3.219 kB / 2.741 GB, free: 467.4 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01561/15.65, allocations: 3.383 MB / 2.745 GB, free: 467.3 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008344/15.65, allocations: 275.8 kB / 2.745 GB, free: 467.3 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02666/15.68, allocations: 1.097 MB / 2.746 GB, free: 467.3 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008096/15.69, allocations: 1.053 MB / 2.747 GB, free: 467.3 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1272/15.82, allocations: 26.97 MB / 2.773 GB, free: 466.9 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.09305/15.91, allocations: 29.9 MB / 2.803 GB, free: 457.7 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02515/15.93, allocations: 9.325 MB / 2.812 GB, free: 454.3 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.02631/15.96, allocations: 10.47 MB / 2.822 GB, free: 450.9 MB / 1.136 GB Notification: Performance of Backend: time 1.252e-06/15.96, allocations: 2.938 kB / 2.822 GB, free: 450.9 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.1613/16.12, allocations: 39.69 MB / 2.861 GB, free: 436.2 MB / 1.136 GB Notification: Performance of SimCode: time 0.1096/16.23, allocations: 43.72 MB / 2.903 GB, free: 398.7 MB / 1.136 GB Notification: Performance of Templates: time 1.626/17.86, allocations: 460.3 MB / 3.353 GB, free: 471.5 MB / 1.136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)