Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.0009386/0.0009386, allocations: 183.8 kB / 372.9 MB, free: 10.17 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.311/1.311, allocations: 205.4 MB / 0.6316 GB, free: 9.938 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.0007987/0.0007988, allocations: 97.41 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 11.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1868, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.6595/0.8464, allocations: 329.5 MB / 1.303 GB, free: 4.73 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.09939/0.9458, allocations: 72.93 MB / 1.374 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01528/0.9611, allocations: 373.2 kB / 1.374 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01508/0.9762, allocations: 4.12 MB / 1.378 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03732/1.014, allocations: 11.35 MB / 1.389 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02762/1.041, allocations: 9.915 MB / 1.399 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 1.028/2.069, allocations: 42.74 MB / 1.441 GB, free: 51.3 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03515/2.105, allocations: 17.45 MB / 1.458 GB, free: 49.45 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03458/2.139, allocations: 14.28 MB / 1.472 GB, free: 49.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03172/2.171, allocations: 14.63 MB / 1.486 GB, free: 49.39 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.008906/2.18, allocations: 1.062 MB / 1.487 GB, free: 49.39 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02289/2.203, allocations: 4.621 MB / 1.491 GB, free: 49.31 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01161/2.214, allocations: 4.904 MB / 1.496 GB, free: 49.31 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0249/2.239, allocations: 9.128 MB / 1.505 GB, free: 49.27 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03228/2.272, allocations: 22.34 MB / 1.527 GB, free: 46.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/2.272, allocations: 2.438 kB / 1.527 GB, free: 46.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.388e-06/2.272, allocations: 3.984 kB / 1.527 GB, free: 46.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001404/2.273, allocations: 0 / 1.527 GB, free: 46.57 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.06057/2.334, allocations: 20.48 MB / 1.547 GB, free: 35.76 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/2.334, allocations: 10.72 kB / 1.547 GB, free: 35.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/2.347, allocations: 2.384 MB / 1.549 GB, free: 34.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03452/2.381, allocations: 15.72 MB / 1.565 GB, free: 28.72 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008058/2.382, allocations: 0.7154 MB / 1.565 GB, free: 28.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006277/2.388, allocations: 0.9969 MB / 1.566 GB, free: 28.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04155/2.43, allocations: 17.23 MB / 1.583 GB, free: 22.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003919/2.431, allocations: 14.66 kB / 1.583 GB, free: 22.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004705/2.435, allocations: 348.3 kB / 1.584 GB, free: 22.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/2.435, allocations: 221.6 kB / 1.584 GB, free: 21.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03639/2.472, allocations: 20.54 MB / 1.604 GB, free: 7.801 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.1392/2.611, allocations: 82.72 MB / 1.685 GB, free: 2.688 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/2.63, allocations: 12.34 MB / 1.697 GB, free: 11.46 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01415/2.644, allocations: 9.823 MB / 1.706 GB, free: 5.652 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.07539/2.719, allocations: 35.33 MB / 1.741 GB, free: 10.43 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01698/2.736, allocations: 9.69 MB / 1.75 GB, free: 2.234 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0308/2.767, allocations: 10 MB / 1.76 GB, free: 8.375 MB / 1.073 GB Notification: Performance of pre-optimization done (n=555): time 3.623e-05/2.767, allocations: 0 / 1.76 GB, free: 8.375 MB / 1.073 GB Notification: Performance of matching and sorting (n=764): time 1.616/4.383, allocations: 204.3 MB / 1.959 GB, free: 450.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005282/4.384, allocations: 2.572 MB / 1.962 GB, free: 446.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02697/4.411, allocations: 15.46 MB / 1.977 GB, free: 431.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00416/4.415, allocations: 247.8 kB / 1.977 GB, free: 431.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009042/4.424, allocations: 7.8 MB / 1.985 GB, free: 424.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005151/4.429, allocations: 2.67 MB / 1.988 GB, free: 421.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002864/4.432, allocations: 199.8 kB / 1.988 GB, free: 421.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0006947/4.433, allocations: 0.7408 MB / 1.988 GB, free: 421 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01944/4.452, allocations: 11.02 MB / 1.999 GB, free: 410 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02242/4.475, allocations: 14.45 MB / 2.013 GB, free: 394.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04214/4.517, allocations: 24.26 MB / 2.037 GB, free: 369.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-05/4.517, allocations: 19.94 kB / 2.037 GB, free: 369.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=1386) (initialization): time 0.6111/5.128, allocations: 128.1 MB / 2.162 GB, free: 240.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008557/5.129, allocations: 1.787 MB / 2.164 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/5.129, allocations: 103.9 kB / 2.164 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6277/5.757, allocations: 143.5 MB / 2.304 GB, free: 94.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01359/5.771, allocations: 2.726 MB / 2.307 GB, free: 91.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5386/6.309, allocations: 78.75 MB / 2.384 GB, free: 456.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02121/6.331, allocations: 1.408 MB / 2.385 GB, free: 456.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004884/6.336, allocations: 0.8651 MB / 2.386 GB, free: 456.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/6.336, allocations: 4.562 kB / 2.386 GB, free: 456.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6169/6.952, allocations: 126.7 MB / 2.51 GB, free: 415.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003248/6.953, allocations: 111.8 kB / 2.51 GB, free: 415.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6318/7.585, allocations: 143.3 MB / 2.65 GB, free: 271.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01325/7.598, allocations: 2.712 MB / 2.652 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1572/7.755, allocations: 82.75 MB / 2.733 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02097/7.776, allocations: 1.383 MB / 2.735 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004941/7.781, allocations: 0.8334 MB / 2.735 GB, free: 183.8 MB / 1.151 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.01627/7.797, allocations: 4.247 MB / 2.739 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007346/7.805, allocations: 1.535 MB / 2.741 GB, free: 178.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2115/8.016, allocations: 51.6 MB / 2.791 GB, free: 127.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1832/8.2, allocations: 45.65 MB / 2.836 GB, free: 81.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.256e-05/8.2, allocations: 0 / 2.836 GB, free: 81.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01257/8.212, allocations: 3.344 MB / 2.839 GB, free: 78.12 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006863/8.219, allocations: 271.8 kB / 2.839 GB, free: 77.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01682/8.236, allocations: 1.223 MB / 2.841 GB, free: 76.66 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00582/8.242, allocations: 0.9819 MB / 2.842 GB, free: 75.67 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07004/8.312, allocations: 26.74 MB / 2.868 GB, free: 49.07 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.557/8.869, allocations: 29.99 MB / 2.897 GB, free: 461.7 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01966/8.889, allocations: 9.377 MB / 2.906 GB, free: 461.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02265/8.911, allocations: 10.47 MB / 2.916 GB, free: 459.3 MB / 1.151 GB Notification: Performance of Backend: time 8.32e-07/8.911, allocations: 0 / 2.916 GB, free: 459.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.1008/9.012, allocations: 38.33 MB / 2.954 GB, free: 445.1 MB / 1.151 GB Notification: Performance of SimCode: time 0.07859/9.091, allocations: 42.51 MB / 2.995 GB, free: 426.6 MB / 1.151 GB Notification: Performance of Templates: time 0.9838/10.07, allocations: 465.6 MB / 3.45 GB, free: 451.6 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)