Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.037/2.037, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001324/0.001324, allocations: 186 kB / 326.3 MB, free: 2.855 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.266/2.266, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.001904/0.001904, allocations: 99.92 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004658, allocations: 9.406 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1888, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified2): time 1.086/1.275, allocations: 329.5 MB / 1.221 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1613/1.436, allocations: 72.84 MB / 1.292 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01603/1.452, allocations: 373.2 kB / 1.293 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0194/1.472, allocations: 3.964 MB / 1.297 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0447/1.517, allocations: 10.65 MB / 1.307 GB, free: 12.21 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.04199/1.559, allocations: 9.638 MB / 1.316 GB, free: 2.688 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.07569/1.634, allocations: 42.78 MB / 1.358 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0419/1.676, allocations: 16.97 MB / 1.375 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03949/1.716, allocations: 14 MB / 1.388 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.505/3.221, allocations: 14.65 MB / 1.403 GB, free: 35.98 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.009777/3.231, allocations: 1.063 MB / 1.404 GB, free: 35.98 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02394/3.255, allocations: 3.723 MB / 1.407 GB, free: 35.98 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.01298/3.268, allocations: 4.903 MB / 1.412 GB, free: 35.98 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01143/3.279, allocations: 3.371 MB / 1.415 GB, free: 35.95 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.03965/3.319, allocations: 22.15 MB / 1.437 GB, free: 35.12 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/3.319, allocations: 3.672 kB / 1.437 GB, free: 35.12 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.946e-06/3.319, allocations: 0 / 1.437 GB, free: 35.12 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.001024/3.32, allocations: 0 / 1.437 GB, free: 35.12 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.08567/3.406, allocations: 20.68 MB / 1.457 GB, free: 27.84 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/3.406, allocations: 6.688 kB / 1.457 GB, free: 27.84 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/3.424, allocations: 2.381 MB / 1.46 GB, free: 26.83 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05174/3.475, allocations: 15.08 MB / 1.474 GB, free: 24.7 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001095/3.477, allocations: 0.7239 MB / 1.475 GB, free: 24.68 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006955/3.483, allocations: 0.9937 MB / 1.476 GB, free: 24.66 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05805/3.542, allocations: 17.2 MB / 1.493 GB, free: 22.97 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006122/3.542, allocations: 9.656 kB / 1.493 GB, free: 22.97 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005635/3.548, allocations: 353.9 kB / 1.493 GB, free: 22.97 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002615/3.548, allocations: 218.2 kB / 1.493 GB, free: 22.96 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05705/3.605, allocations: 20.52 MB / 1.513 GB, free: 19.96 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.2161/3.821, allocations: 82.24 MB / 1.594 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03393/3.855, allocations: 12.54 MB / 1.606 GB, free: 6.523 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02444/3.88, allocations: 9.478 MB / 1.615 GB, free: 1.098 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.1221/4.002, allocations: 35.45 MB / 1.65 GB, free: 5.82 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02868/4.031, allocations: 9.717 MB / 1.659 GB, free: 15.23 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05455/4.085, allocations: 9.999 MB / 1.669 GB, free: 5.945 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=576): time 3.867e-05/4.086, allocations: 0 / 1.669 GB, free: 5.945 MB / 0.9949 GB Notification: Performance of matching and sorting (n=804): time 3.134/7.22, allocations: 206.9 MB / 1.871 GB, free: 465.2 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000636/7.22, allocations: 2.577 MB / 1.874 GB, free: 462.1 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03934/7.26, allocations: 15.45 MB / 1.889 GB, free: 455.7 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.005282/7.265, allocations: 249.8 kB / 1.889 GB, free: 455.4 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0118/7.277, allocations: 7.776 MB / 1.897 GB, free: 449 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.007187/7.284, allocations: 2.803 MB / 1.899 GB, free: 447.8 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005043/7.289, allocations: 205.4 kB / 1.9 GB, free: 447.6 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.00109/7.29, allocations: 0.7453 MB / 1.9 GB, free: 446.8 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03244/7.323, allocations: 10.87 MB / 1.911 GB, free: 435.9 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03573/7.359, allocations: 14.3 MB / 1.925 GB, free: 420.3 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0365/7.395, allocations: 12.17 MB / 1.937 GB, free: 408.1 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.527e-05/7.395, allocations: 16 kB / 1.937 GB, free: 408.1 MB / 1.104 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 1.29/8.685, allocations: 128.3 MB / 2.062 GB, free: 279.5 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.000954/8.686, allocations: 1.728 MB / 2.064 GB, free: 277.1 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003016/8.686, allocations: 108.5 kB / 2.064 GB, free: 277 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355/10.04, allocations: 144.5 MB / 2.205 GB, free: 132.3 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0256/10.07, allocations: 2.633 MB / 2.208 GB, free: 129.6 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2769/10.34, allocations: 80.89 MB / 2.287 GB, free: 48.3 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03307/10.38, allocations: 1.301 MB / 2.288 GB, free: 47.03 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006065/10.38, allocations: 0.8733 MB / 2.289 GB, free: 46.16 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/10.38, allocations: 4 kB / 2.289 GB, free: 46.16 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.936/12.32, allocations: 126.8 MB / 2.413 GB, free: 435.3 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003454/12.32, allocations: 100.4 kB / 2.413 GB, free: 435.3 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348/13.67, allocations: 144.3 MB / 2.554 GB, free: 300.3 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02304/13.69, allocations: 2.589 MB / 2.556 GB, free: 297.8 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2982/13.99, allocations: 84.46 MB / 2.639 GB, free: 213.2 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03211/14.02, allocations: 1.278 MB / 2.64 GB, free: 212 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005698/14.03, allocations: 0.8372 MB / 2.641 GB, free: 211.2 MB / 1.104 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.01879/14.05, allocations: 4.255 MB / 2.645 GB, free: 206.9 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008183/14.05, allocations: 1.543 MB / 2.646 GB, free: 206.2 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3627/14.42, allocations: 52.05 MB / 2.697 GB, free: 154.3 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3282/14.74, allocations: 45.99 MB / 2.742 GB, free: 108.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.304e-05/14.74, allocations: 0 / 2.742 GB, free: 108.2 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01415/14.76, allocations: 3.378 MB / 2.745 GB, free: 105.5 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007665/14.77, allocations: 275.9 kB / 2.746 GB, free: 105.2 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02562/14.79, allocations: 1.111 MB / 2.747 GB, free: 104.1 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007488/14.8, allocations: 1.06 MB / 2.748 GB, free: 103.1 MB / 1.104 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1229/14.92, allocations: 27.16 MB / 2.774 GB, free: 76.07 MB / 1.104 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08968/15.01, allocations: 29.93 MB / 2.803 GB, free: 46.08 MB / 1.104 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02481/15.04, allocations: 9.338 MB / 2.813 GB, free: 36.73 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02533/15.06, allocations: 10.46 MB / 2.823 GB, free: 26.37 MB / 1.104 GB Notification: Performance of Backend: time 1.192e-06/15.06, allocations: 0 / 2.823 GB, free: 26.37 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.784/15.85, allocations: 38.51 MB / 2.86 GB, free: 467.5 MB / 1.104 GB Notification: Performance of SimCode: time 0.113/15.96, allocations: 43.4 MB / 2.903 GB, free: 448.5 MB / 1.104 GB Notification: Performance of Templates: time 1.83/17.79, allocations: 465.4 MB / 3.357 GB, free: 463.9 MB / 1.104 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)