Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009619/0.0009619, allocations: 170.5 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007275/0.0007275, allocations: 91.92 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.000276, allocations: 8.906 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.6035/0.7458, allocations: 353.8 MB / 1.242 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.09445/0.8403, allocations: 77.78 MB / 1.318 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01355/0.8539, allocations: 393.2 kB / 1.319 GB, free: 468 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01212/0.866, allocations: 3.858 MB / 1.322 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.02714/0.8932, allocations: 10.22 MB / 1.332 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01673/0.9099, allocations: 7.179 MB / 1.339 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.03708/0.947, allocations: 38.04 MB / 1.376 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01854/0.9656, allocations: 15 MB / 1.391 GB, free: 5.867 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4501/1.416, allocations: 12.23 MB / 1.403 GB, free: 23.87 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02306/1.439, allocations: 13.15 MB / 1.416 GB, free: 23.87 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.004827/1.444, allocations: 0.9619 MB / 1.417 GB, free: 23.87 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/1.457, allocations: 3.972 MB / 1.421 GB, free: 23.87 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.005413/1.462, allocations: 4.097 MB / 1.425 GB, free: 23.7 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01581/1.478, allocations: 7.74 MB / 1.432 GB, free: 21.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02651/1.505, allocations: 22.35 MB / 1.454 GB, free: 19.32 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.505, allocations: 0 / 1.454 GB, free: 19.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.864e-06/1.505, allocations: 0 / 1.454 GB, free: 19.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005744/1.505, allocations: 0 / 1.454 GB, free: 19.32 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.0387/1.544, allocations: 16.93 MB / 1.471 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.544, allocations: 10.52 kB / 1.471 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/1.556, allocations: 2.372 MB / 1.473 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02273/1.578, allocations: 12.58 MB / 1.485 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/1.58, allocations: 0.7844 MB / 1.486 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00239/1.582, allocations: 0.6924 MB / 1.487 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/1.606, allocations: 14.02 MB / 1.5 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/1.606, allocations: 11.38 kB / 1.5 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/1.607, allocations: 242.2 kB / 1.501 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/1.607, allocations: 152.2 kB / 1.501 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02423/1.631, allocations: 18.99 MB / 1.519 GB, free: 6.852 MB / 0.9011 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.09761/1.729, allocations: 73.31 MB / 1.591 GB, free: 1.387 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/1.744, allocations: 10.58 MB / 1.601 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01231/1.756, allocations: 9.057 MB / 1.61 GB, free: 5.012 MB / 0.9636 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.05693/1.813, allocations: 31.81 MB / 1.641 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01527/1.829, allocations: 8.857 MB / 1.65 GB, free: 12.04 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02746/1.856, allocations: 9.95 MB / 1.66 GB, free: 2.234 MB / 1.01 GB Notification: Performance of pre-optimization done (n=387): time 2.163e-05/1.856, allocations: 0 / 1.66 GB, free: 2.234 MB / 1.01 GB Notification: Performance of matching and sorting (n=573): time 1.549/3.405, allocations: 218 MB / 1.872 GB, free: 0.5167 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/3.405, allocations: 110.2 kB / 1.873 GB, free: 0.5166 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/3.419, allocations: 12.39 MB / 1.885 GB, free: 0.5116 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002753/3.422, allocations: 171.9 kB / 1.885 GB, free: 0.5114 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003985/3.426, allocations: 5.947 MB / 1.891 GB, free: 0.5074 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003069/3.429, allocations: 1.926 MB / 1.892 GB, free: 0.507 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/3.43, allocations: 0.6684 MB / 1.893 GB, free: 0.5066 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.437e-05/3.431, allocations: 305.1 kB / 1.893 GB, free: 0.5063 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01314/3.444, allocations: 9.884 MB / 1.903 GB, free: 0.4984 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01787/3.462, allocations: 12.21 MB / 1.915 GB, free: 497.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03302/3.495, allocations: 21.73 MB / 1.936 GB, free: 474.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.011e-05/3.495, allocations: 12 kB / 1.936 GB, free: 474.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.5971/4.092, allocations: 140.5 MB / 2.073 GB, free: 334.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005958/4.092, allocations: 1.538 MB / 2.075 GB, free: 332.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-05/4.092, allocations: 47.66 kB / 2.075 GB, free: 332.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6476/4.74, allocations: 166.3 MB / 2.237 GB, free: 165.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009075/4.749, allocations: 1.86 MB / 2.239 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1487/4.898, allocations: 95.26 MB / 2.332 GB, free: 68.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01517/4.913, allocations: 1.134 MB / 2.333 GB, free: 67.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002623/4.916, allocations: 0.7717 MB / 2.334 GB, free: 66.38 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/4.916, allocations: 4 kB / 2.334 GB, free: 66.37 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9285/5.844, allocations: 137.9 MB / 2.469 GB, free: 497.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-05/5.844, allocations: 47.06 kB / 2.469 GB, free: 497.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6337/6.478, allocations: 165.9 MB / 2.631 GB, free: 343.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007932/6.486, allocations: 1.842 MB / 2.633 GB, free: 341.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1589/6.645, allocations: 99.52 MB / 2.73 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01473/6.66, allocations: 1.129 MB / 2.731 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002611/6.662, allocations: 0.745 MB / 2.732 GB, free: 240.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (679): * Single equations (assignments): 665 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(31,40,84.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (6,79)} Notification: Performance of prepare postOptimizeDAE: time 0.007288/6.67, allocations: 3.081 MB / 2.735 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004048/6.674, allocations: 1.186 MB / 2.736 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2269/6.901, allocations: 53.17 MB / 2.788 GB, free: 183.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1781/7.079, allocations: 47.66 MB / 2.834 GB, free: 135.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-05/7.079, allocations: 0 / 2.834 GB, free: 135.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007312/7.086, allocations: 2.509 MB / 2.837 GB, free: 133.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004022/7.09, allocations: 120 kB / 2.837 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01173/7.102, allocations: 0.9738 MB / 2.838 GB, free: 132.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00476/7.107, allocations: 0.9297 MB / 2.839 GB, free: 131.7 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05134/7.158, allocations: 23.23 MB / 2.861 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03617/7.194, allocations: 24.9 MB / 2.886 GB, free: 83.89 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01052/7.205, allocations: 7.798 MB / 2.893 GB, free: 76.07 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01039/7.215, allocations: 8.433 MB / 2.901 GB, free: 67.68 MB / 1.151 GB Notification: Performance of Backend: time 6.81e-07/7.215, allocations: 0 / 2.901 GB, free: 67.68 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.06268/7.278, allocations: 32.46 MB / 2.933 GB, free: 35.41 MB / 1.151 GB Notification: Performance of SimCode: time 0.3571/7.635, allocations: 33.56 MB / 2.966 GB, free: 0.5035 GB / 1.151 GB Notification: Performance of Templates: time 0.4377/8.073, allocations: 404.1 MB / 3.361 GB, free: 173.2 MB / 1.151 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)