Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001262/0.001261, allocations: 187.6 kB / 326.3 MB, free: 2.844 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.226/2.226, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.000946/0.0009459, allocations: 93.09 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006296, allocations: 11.25 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1884, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 1.05/1.238, allocations: 329.6 MB / 1.221 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1559/1.394, allocations: 72.84 MB / 1.292 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0156/1.41, allocations: 373.2 kB / 1.293 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01552/1.425, allocations: 3.14 MB / 1.296 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.03667/1.462, allocations: 8.843 MB / 1.305 GB, free: 14.71 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02565/1.487, allocations: 5.972 MB / 1.31 GB, free: 8.805 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.05691/1.544, allocations: 32.92 MB / 1.343 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03319/1.578, allocations: 14.55 MB / 1.357 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03298/1.611, allocations: 11.77 MB / 1.368 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03344/1.644, allocations: 12.53 MB / 1.38 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0067/1.651, allocations: 0.9649 MB / 1.381 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01827/1.669, allocations: 3.288 MB / 1.385 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.01009/1.679, allocations: 4.014 MB / 1.389 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.009378/1.689, allocations: 2.635 MB / 1.391 GB, free: 5.828 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 1.446/3.135, allocations: 17.38 MB / 1.408 GB, free: 57.39 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/3.135, allocations: 0.6875 kB / 1.408 GB, free: 57.39 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.745e-06/3.135, allocations: 0 / 1.408 GB, free: 57.39 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0007485/3.135, allocations: 0.625 kB / 1.408 GB, free: 57.39 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.07702/3.212, allocations: 17.08 MB / 1.425 GB, free: 52.07 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/3.212, allocations: 8.281 kB / 1.425 GB, free: 52.07 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01978/3.232, allocations: 2.371 MB / 1.427 GB, free: 51.29 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04498/3.277, allocations: 12.08 MB / 1.439 GB, free: 49.59 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003187/3.281, allocations: 0.7814 MB / 1.44 GB, free: 49.57 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005712/3.286, allocations: 0.691 MB / 1.44 GB, free: 49.57 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05057/3.337, allocations: 13.98 MB / 1.454 GB, free: 49.03 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003694/3.337, allocations: 10.28 kB / 1.454 GB, free: 49.03 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004711/3.342, allocations: 241.9 kB / 1.454 GB, free: 49.03 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002169/3.342, allocations: 150.2 kB / 1.454 GB, free: 49.03 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0546/3.397, allocations: 18.95 MB / 1.473 GB, free: 48.94 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.1784/3.575, allocations: 73.31 MB / 1.544 GB, free: 8.867 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02697/3.602, allocations: 10.55 MB / 1.555 GB, free: 5.605 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02189/3.624, allocations: 9.099 MB / 1.564 GB, free: 272 kB / 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 evalFunc (simulation): time 0.1072/3.732, allocations: 31.8 MB / 1.595 GB, free: 7.613 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02593/3.758, allocations: 8.833 MB / 1.603 GB, free: 1.641 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05564/3.813, allocations: 9.954 MB / 1.613 GB, free: 8.379 MB / 0.948 GB Notification: Performance of pre-optimization done (n=387): time 3.306e-05/3.813, allocations: 0 / 1.613 GB, free: 8.379 MB / 0.948 GB Notification: Performance of matching and sorting (n=573): time 2.736/6.55, allocations: 217.5 MB / 1.825 GB, free: 0.4898 GB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/6.55, allocations: 113.9 kB / 1.826 GB, free: 0.4897 GB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03039/6.58, allocations: 12.28 MB / 1.838 GB, free: 497.8 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.004277/6.584, allocations: 176.4 kB / 1.838 GB, free: 497.7 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.009028/6.594, allocations: 5.943 MB / 1.844 GB, free: 494.1 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.005528/6.599, allocations: 1.929 MB / 1.845 GB, free: 493.8 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004132/6.603, allocations: 143.5 kB / 1.846 GB, free: 493.7 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0006272/6.604, allocations: 0.5969 MB / 1.846 GB, free: 493.2 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02891/6.633, allocations: 9.172 MB / 1.855 GB, free: 489.9 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03125/6.664, allocations: 11.49 MB / 1.866 GB, free: 482.7 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03206/6.696, allocations: 10.01 MB / 1.876 GB, free: 477.3 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.645e-05/6.696, allocations: 14.19 kB / 1.876 GB, free: 477.3 MB / 1.104 GB Notification: Performance of matching and sorting (n=954) (initialization): time 1.532/8.228, allocations: 138.9 MB / 2.012 GB, free: 340.4 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008248/8.229, allocations: 1.532 MB / 2.013 GB, free: 338.3 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.658e-05/8.229, allocations: 48 kB / 2.013 GB, free: 338.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674/9.904, allocations: 166 MB / 2.175 GB, free: 172 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0195/9.923, allocations: 1.872 MB / 2.177 GB, free: 170.1 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3614/10.28, allocations: 95.31 MB / 2.27 GB, free: 74.39 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0303/10.31, allocations: 1.135 MB / 2.271 GB, free: 73.27 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005332/10.32, allocations: 0.7724 MB / 2.272 GB, free: 72.5 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/10.32, allocations: 4 kB / 2.272 GB, free: 72.5 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.161/12.48, allocations: 137.8 MB / 2.407 GB, free: 459.5 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/12.48, allocations: 42.62 kB / 2.407 GB, free: 459.5 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587/14.07, allocations: 165.9 MB / 2.569 GB, free: 301.1 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01721/14.09, allocations: 1.847 MB / 2.571 GB, free: 299.4 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3573/14.44, allocations: 99.35 MB / 2.668 GB, free: 199.9 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02888/14.47, allocations: 1.128 MB / 2.669 GB, free: 198.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004822/14.48, allocations: 0.7411 MB / 2.669 GB, free: 198.1 MB / 1.104 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,$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 (679): * Single equations (assignments): 665 * 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 {(32,82.2%) 39} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01404/14.49, allocations: 3.071 MB / 2.672 GB, free: 195 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006192/14.5, allocations: 1.189 MB / 2.674 GB, free: 194.5 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4072/14.9, allocations: 53.15 MB / 2.725 GB, free: 141.4 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4702/15.37, allocations: 47.6 MB / 2.772 GB, free: 93.66 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.409e-05/15.37, allocations: 4 kB / 2.772 GB, free: 93.66 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01126/15.39, allocations: 2.68 MB / 2.775 GB, free: 91.39 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006268/15.39, allocations: 124 kB / 2.775 GB, free: 91.27 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02294/15.42, allocations: 0.9747 MB / 2.776 GB, free: 90.32 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00725/15.42, allocations: 0.9337 MB / 2.777 GB, free: 89.38 MB / 1.104 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1129/15.54, allocations: 23.17 MB / 2.799 GB, free: 66.29 MB / 1.104 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08099/15.62, allocations: 24.83 MB / 2.823 GB, free: 41.36 MB / 1.104 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0224/15.64, allocations: 7.775 MB / 2.831 GB, free: 33.57 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01944/15.66, allocations: 8.323 MB / 2.839 GB, free: 25.29 MB / 1.104 GB Notification: Performance of Backend: time 9.12e-07/15.66, allocations: 0 / 2.839 GB, free: 25.29 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.7729/16.43, allocations: 31.7 MB / 2.87 GB, free: 496 MB / 1.104 GB Notification: Performance of SimCode: time 0.08666/16.52, allocations: 32.46 MB / 2.902 GB, free: 481.7 MB / 1.104 GB Notification: Performance of Templates: time 0.8317/17.35, allocations: 394.7 MB / 3.287 GB, free: 106.6 MB / 1.104 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)