Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.578/1.578, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.0009167/0.0009168, allocations: 186.9 kB / 372.9 MB, free: 10.16 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.279/1.279, allocations: 205.4 MB / 0.6316 GB, free: 9.898 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.0007222/0.0007222, allocations: 102.2 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005569/0.0005569, allocations: 12.03 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2665, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified2): time 0.6899/0.9564, allocations: 329.5 MB / 1.303 GB, free: 4.723 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1006/1.057, allocations: 72.93 MB / 1.374 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01527/1.072, allocations: 369.2 kB / 1.374 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0151/1.087, allocations: 4.112 MB / 1.378 GB, free: 7.152 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03432/1.122, allocations: 11.35 MB / 1.389 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0269/1.149, allocations: 9.925 MB / 1.399 GB, free: 1.863 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.9964/2.145, allocations: 42.85 MB / 1.441 GB, free: 51.35 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0313/2.177, allocations: 17.48 MB / 1.458 GB, free: 49.5 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03451/2.211, allocations: 14.32 MB / 1.472 GB, free: 49.48 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02912/2.24, allocations: 14.67 MB / 1.486 GB, free: 49.44 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007813/2.248, allocations: 1.069 MB / 1.487 GB, free: 49.44 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0227/2.271, allocations: 4.627 MB / 1.492 GB, free: 49.36 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01033/2.281, allocations: 4.928 MB / 1.496 GB, free: 49.36 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02368/2.305, allocations: 9.141 MB / 1.505 GB, free: 49.33 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02882/2.334, allocations: 22.41 MB / 1.527 GB, free: 46.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/2.334, allocations: 0 / 1.527 GB, free: 46.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.374e-06/2.334, allocations: 0 / 1.527 GB, free: 46.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009994/2.335, allocations: 0 / 1.527 GB, free: 46.5 MB / 0.948 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.04963/2.384, allocations: 20.5 MB / 1.547 GB, free: 35.68 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/2.384, allocations: 9.812 kB / 1.547 GB, free: 35.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/2.396, allocations: 2.38 MB / 1.55 GB, free: 34.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02993/2.426, allocations: 15.73 MB / 1.565 GB, free: 28.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006702/2.426, allocations: 0.7203 MB / 1.566 GB, free: 28.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004997/2.431, allocations: 0.9991 MB / 1.567 GB, free: 28.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0352/2.467, allocations: 17.28 MB / 1.584 GB, free: 21.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003688/2.467, allocations: 8.969 kB / 1.584 GB, free: 21.85 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003588/2.471, allocations: 355.4 kB / 1.584 GB, free: 21.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001894/2.471, allocations: 211.3 kB / 1.584 GB, free: 21.56 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03591/2.507, allocations: 20.58 MB / 1.604 GB, free: 7.492 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 removeSimpleEquations (simulation): time 0.15/2.657, allocations: 82.41 MB / 1.685 GB, free: 2.871 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02026/2.677, allocations: 12.6 MB / 1.697 GB, free: 11.49 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01451/2.692, allocations: 9.512 MB / 1.706 GB, free: 6.031 MB / 1.026 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.07864/2.77, allocations: 35.56 MB / 1.741 GB, free: 10.7 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01775/2.788, allocations: 9.792 MB / 1.751 GB, free: 1.844 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03243/2.821, allocations: 10.01 MB / 1.76 GB, free: 7.977 MB / 1.073 GB Notification: Performance of pre-optimization done (n=576): time 4.192e-05/2.821, allocations: 4 kB / 1.76 GB, free: 7.973 MB / 1.073 GB Notification: Performance of matching and sorting (n=804): time 1.756/4.577, allocations: 210.6 MB / 1.966 GB, free: 443.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006283/4.577, allocations: 2.576 MB / 1.968 GB, free: 440.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03085/4.608, allocations: 15.45 MB / 1.984 GB, free: 425.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004542/4.613, allocations: 254.2 kB / 1.984 GB, free: 424.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009485/4.622, allocations: 7.771 MB / 1.991 GB, free: 417.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005609/4.628, allocations: 2.799 MB / 1.994 GB, free: 415 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00354/4.632, allocations: 207.7 kB / 1.994 GB, free: 414.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0008208/4.632, allocations: 0.7492 MB / 1.995 GB, free: 414.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01993/4.652, allocations: 11.16 MB / 2.006 GB, free: 402.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0229/4.675, allocations: 14.61 MB / 2.02 GB, free: 387 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04556/4.721, allocations: 24.51 MB / 2.044 GB, free: 361.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.415e-05/4.721, allocations: 16 kB / 2.044 GB, free: 361.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 0.6046/5.326, allocations: 128.9 MB / 2.17 GB, free: 232.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008358/5.327, allocations: 1.736 MB / 2.172 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002415/5.327, allocations: 99.92 kB / 2.172 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6296/5.956, allocations: 144.5 MB / 2.313 GB, free: 85.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/5.97, allocations: 2.739 MB / 2.316 GB, free: 82.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5359/6.506, allocations: 80.89 MB / 2.395 GB, free: 454.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02024/6.527, allocations: 1.409 MB / 2.396 GB, free: 454.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003703/6.53, allocations: 0.8738 MB / 2.397 GB, free: 454.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/6.53, allocations: 3.125 kB / 2.397 GB, free: 454.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5935/7.124, allocations: 127.4 MB / 2.521 GB, free: 404.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003676/7.124, allocations: 107.9 kB / 2.521 GB, free: 404.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6333/7.758, allocations: 144.3 MB / 2.662 GB, free: 260.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/7.771, allocations: 2.699 MB / 2.665 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1541/7.925, allocations: 84.46 MB / 2.747 GB, free: 172.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02096/7.946, allocations: 1.396 MB / 2.749 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004666/7.95, allocations: 0.8376 MB / 2.75 GB, free: 170.7 MB / 1.151 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01485/7.965, allocations: 4.253 MB / 2.754 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006402/7.972, allocations: 1.552 MB / 2.755 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2062/8.178, allocations: 52.58 MB / 2.807 GB, free: 112.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1829/8.361, allocations: 46.53 MB / 2.852 GB, free: 66.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.425e-05/8.361, allocations: 0 / 2.852 GB, free: 66.32 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01132/8.372, allocations: 3.406 MB / 2.855 GB, free: 62.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005947/8.378, allocations: 275.9 kB / 2.856 GB, free: 62.63 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01661/8.395, allocations: 1.235 MB / 2.857 GB, free: 61.41 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005992/8.401, allocations: 1.06 MB / 2.858 GB, free: 60.35 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07016/8.471, allocations: 27.83 MB / 2.885 GB, free: 32.69 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.5098/8.981, allocations: 30.83 MB / 2.915 GB, free: 459.7 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01917/9, allocations: 9.634 MB / 2.925 GB, free: 456.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02295/9.023, allocations: 10.46 MB / 2.935 GB, free: 452.9 MB / 1.151 GB Notification: Performance of Backend: time 1.102e-06/9.023, allocations: 0 / 2.935 GB, free: 452.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.103/9.126, allocations: 39.17 MB / 2.973 GB, free: 438.5 MB / 1.151 GB Notification: Performance of SimCode: time 0.07723/9.203, allocations: 43.27 MB / 3.015 GB, free: 418.8 MB / 1.151 GB Notification: Performance of Templates: time 1.065/10.27, allocations: 471.9 MB / 3.476 GB, free: 456.3 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)