Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.152/2.152, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.002037/0.002037, allocations: 172.8 kB / 326.2 MB, free: 2.84 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.393/2.393, 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.0009065/0.0009065, allocations: 95.92 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006182/0.0006183, allocations: 12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1869, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 1.027/1.214, allocations: 329.5 MB / 1.221 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1652/1.379, allocations: 72.84 MB / 1.292 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01972/1.399, allocations: 369.2 kB / 1.293 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.02401/1.423, allocations: 3.552 MB / 1.296 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.05996/1.483, allocations: 10.36 MB / 1.306 GB, free: 12.73 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0426/1.526, allocations: 6.851 MB / 1.313 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0661/1.592, allocations: 38.53 MB / 1.351 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03573/1.628, allocations: 15.42 MB / 1.366 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03645/1.664, allocations: 12.8 MB / 1.378 GB, free: 2.914 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03604/1.7, allocations: 13.5 MB / 1.391 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.006961/1.707, allocations: 0.9961 MB / 1.392 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02059/1.728, allocations: 3.752 MB / 1.396 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.403/3.131, allocations: 4.226 MB / 1.4 GB, free: 44.43 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01044/3.141, allocations: 2.938 MB / 1.403 GB, free: 44.4 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.03748/3.179, allocations: 19.25 MB / 1.422 GB, free: 43.79 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/3.179, allocations: 1.344 kB / 1.422 GB, free: 43.79 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.415e-06/3.179, allocations: 0 / 1.422 GB, free: 43.79 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.00085/3.179, allocations: 0 / 1.422 GB, free: 43.79 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.07878/3.258, allocations: 18.15 MB / 1.44 GB, free: 37.54 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/3.258, allocations: 11.06 kB / 1.44 GB, free: 37.54 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/3.276, allocations: 2.298 MB / 1.442 GB, free: 36.68 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04744/3.324, allocations: 13.37 MB / 1.455 GB, free: 34.8 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00201/3.326, allocations: 0.7317 MB / 1.456 GB, free: 34.78 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005616/3.332, allocations: 0.7875 MB / 1.456 GB, free: 34.77 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04961/3.381, allocations: 14.83 MB / 1.471 GB, free: 34.04 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004126/3.382, allocations: 9.438 kB / 1.471 GB, free: 34.04 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00457/3.386, allocations: 292.7 kB / 1.471 GB, free: 34.04 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002579/3.387, allocations: 192.8 kB / 1.471 GB, free: 34.04 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05296/3.44, allocations: 19.28 MB / 1.49 GB, free: 33.97 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.1823/3.622, allocations: 77.41 MB / 1.566 GB, free: 7.031 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02641/3.648, allocations: 10.55 MB / 1.576 GB, free: 4.039 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02324/3.672, allocations: 9.106 MB / 1.585 GB, free: 14.73 MB / 0.9324 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.1068/3.779, allocations: 32.63 MB / 1.617 GB, free: 5.371 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02457/3.803, allocations: 8.788 MB / 1.625 GB, free: 15.48 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05326/3.856, allocations: 9.832 MB / 1.635 GB, free: 6.324 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=421): time 3.144e-05/3.857, allocations: 0 / 1.635 GB, free: 6.324 MB / 0.9637 GB Notification: Performance of matching and sorting (n=605): time 2.381/6.237, allocations: 195.1 MB / 1.826 GB, free: 476.8 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/6.237, allocations: 115.5 kB / 1.826 GB, free: 476.8 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03197/6.269, allocations: 13.03 MB / 1.838 GB, free: 472.2 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.00396/6.273, allocations: 187.5 kB / 1.839 GB, free: 472.1 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.009688/6.283, allocations: 6.588 MB / 1.845 GB, free: 467.6 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.005444/6.289, allocations: 2.043 MB / 1.847 GB, free: 467 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003243/6.292, allocations: 154.2 kB / 1.847 GB, free: 466.9 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0006261/6.292, allocations: 0.6151 MB / 1.848 GB, free: 466.4 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02735/6.32, allocations: 9.144 MB / 1.857 GB, free: 461.3 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02979/6.35, allocations: 11.66 MB / 1.868 GB, free: 453.2 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02982/6.38, allocations: 10.08 MB / 1.878 GB, free: 445 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-05/6.38, allocations: 12 kB / 1.878 GB, free: 445 MB / 1.089 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 1.235/7.615, allocations: 123.6 MB / 1.999 GB, free: 321.3 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008818/7.615, allocations: 1.726 MB / 2 GB, free: 318.8 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.57e-05/7.616, allocations: 52 kB / 2 GB, free: 318.7 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318/8.934, allocations: 143.5 MB / 2.14 GB, free: 175.1 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02007/8.954, allocations: 1.99 MB / 2.142 GB, free: 173.1 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2638/9.218, allocations: 78.75 MB / 2.219 GB, free: 93.93 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03084/9.248, allocations: 1.179 MB / 2.22 GB, free: 92.76 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004818/9.253, allocations: 0.7906 MB / 2.221 GB, free: 91.97 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/9.253, allocations: 4 kB / 2.221 GB, free: 91.96 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.97/11.22, allocations: 122.4 MB / 2.341 GB, free: 441.9 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/11.22, allocations: 50.28 kB / 2.341 GB, free: 441.9 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335/12.56, allocations: 143.3 MB / 2.481 GB, free: 335.9 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02113/12.58, allocations: 1.966 MB / 2.483 GB, free: 334 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2905/12.87, allocations: 82.7 MB / 2.563 GB, free: 251.2 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03011/12.9, allocations: 1.153 MB / 2.565 GB, free: 250.1 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004909/12.91, allocations: 0.754 MB / 2.565 GB, free: 249.4 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (767): * Single equations (assignments): 753 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.01571/12.92, allocations: 3.337 MB / 2.569 GB, free: 246.1 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006953/12.93, allocations: 1.276 MB / 2.57 GB, free: 245.5 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3451/13.27, allocations: 48.93 MB / 2.618 GB, free: 196.6 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3701/13.64, allocations: 43.33 MB / 2.66 GB, free: 153.2 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.853e-05/13.64, allocations: 0 / 2.66 GB, free: 153.2 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01803/13.66, allocations: 2.821 MB / 2.663 GB, free: 150.9 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008954/13.67, allocations: 128 kB / 2.663 GB, free: 150.8 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02589/13.7, allocations: 1.005 MB / 2.664 GB, free: 149.8 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006717/13.7, allocations: 0.8988 MB / 2.665 GB, free: 148.9 MB / 1.089 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.105/13.81, allocations: 22.7 MB / 2.687 GB, free: 126.3 MB / 1.089 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.07832/13.89, allocations: 24.93 MB / 2.711 GB, free: 101.3 MB / 1.089 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02151/13.91, allocations: 7.764 MB / 2.719 GB, free: 93.49 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.02256/13.93, allocations: 8.806 MB / 2.727 GB, free: 84.75 MB / 1.089 GB Notification: Performance of Backend: time 1.082e-06/13.93, allocations: 0 / 2.727 GB, free: 84.75 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.1288/14.06, allocations: 31.59 MB / 2.758 GB, free: 53.43 MB / 1.089 GB Notification: Performance of SimCode: time 0.7805/14.84, allocations: 35.17 MB / 2.792 GB, free: 453.5 MB / 1.089 GB Notification: Performance of Templates: time 0.8559/15.7, allocations: 407.8 MB / 3.191 GB, free: 113.1 MB / 1.089 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)