Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 252 MB / 267.6 MB, free: 10.91 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.002513/0.002513, allocations: 184.3 kB / 327.3 MB, free: 2.195 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.093/2.093, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.000827/0.0008269, allocations: 100.6 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 9.344 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2465, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.7278/0.9744, allocations: 329.6 MB / 1.223 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1121/1.087, allocations: 72.84 MB / 1.294 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01903/1.106, allocations: 377.2 kB / 1.294 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01412/1.12, allocations: 3.148 MB / 1.297 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.03245/1.152, allocations: 8.836 MB / 1.306 GB, free: 12.75 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02013/1.172, allocations: 5.973 MB / 1.312 GB, free: 6.805 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.04849/1.221, allocations: 32.52 MB / 1.344 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02681/1.248, allocations: 13.04 MB / 1.356 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02977/1.278, allocations: 10.05 MB / 1.366 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02042/1.298, allocations: 9.037 MB / 1.375 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.005076/1.303, allocations: 0.4961 MB / 1.375 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01473/1.318, allocations: 2.819 MB / 1.378 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.006525/1.324, allocations: 2.887 MB / 1.381 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.007952/1.332, allocations: 2.631 MB / 1.384 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 1.065/2.397, allocations: 14.41 MB / 1.398 GB, free: 54.81 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/2.397, allocations: 0 / 1.398 GB, free: 54.81 MB / 0.9012 GB Notification: Performance of FrontEnd: time 3.216e-06/2.397, allocations: 0 / 1.398 GB, free: 54.81 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0009492/2.398, allocations: 2.531 kB / 1.398 GB, free: 54.81 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.04334/2.442, allocations: 13.78 MB / 1.411 GB, free: 49.59 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/2.442, allocations: 10.22 kB / 1.411 GB, free: 49.59 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/2.455, allocations: 2.218 MB / 1.413 GB, free: 48.8 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03235/2.487, allocations: 11.05 MB / 1.424 GB, free: 47.09 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001948/2.489, allocations: 0.787 MB / 1.425 GB, free: 47.05 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003409/2.492, allocations: 0.6832 MB / 1.425 GB, free: 47.05 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/2.52, allocations: 8.901 MB / 1.434 GB, free: 45.98 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002195/2.52, allocations: 19.62 kB / 1.434 GB, free: 45.98 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001422/2.522, allocations: 251.1 kB / 1.434 GB, free: 45.98 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/2.522, allocations: 156.9 kB / 1.435 GB, free: 45.98 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/2.541, allocations: 7.362 MB / 1.442 GB, free: 45.89 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.08222/2.623, allocations: 50.53 MB / 1.491 GB, free: 17.78 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009952/2.633, allocations: 5.47 MB / 1.496 GB, free: 17.6 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006783/2.64, allocations: 3.971 MB / 1.5 GB, free: 17.52 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 evalFunc (simulation): time 0.0323/2.673, allocations: 13.37 MB / 1.513 GB, free: 14.4 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005542/2.678, allocations: 3.678 MB / 1.517 GB, free: 14.15 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01041/2.689, allocations: 1.859 MB / 1.519 GB, free: 13.41 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=320): time 3.288e-05/2.689, allocations: 0 / 1.519 GB, free: 13.41 MB / 0.9012 GB Notification: Performance of matching and sorting (n=506): time 0.1716/2.86, allocations: 51.52 MB / 1.569 GB, free: 14.36 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/2.86, allocations: 109.2 kB / 1.569 GB, free: 14.25 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02497/2.885, allocations: 12.52 MB / 1.581 GB, free: 5.094 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.00194/2.887, allocations: 161.3 kB / 1.582 GB, free: 5.023 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.006149/2.894, allocations: 6.154 MB / 1.588 GB, free: 2.316 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.002517/2.896, allocations: 1.709 MB / 1.589 GB, free: 0.8516 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009291/2.897, allocations: 143.1 kB / 1.589 GB, free: 0.8203 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0004239/2.898, allocations: 0.5925 MB / 1.59 GB, free: 348 kB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01044/2.908, allocations: 4.935 MB / 1.595 GB, free: 12.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0136/2.922, allocations: 7.595 MB / 1.602 GB, free: 5.828 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/2.935, allocations: 5.69 MB / 1.608 GB, free: 2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.532e-05/2.935, allocations: 20 kB / 1.608 GB, free: 1.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.04398/2.979, allocations: 16.8 MB / 1.624 GB, free: 5.504 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001421/2.98, allocations: 1.936 MB / 1.626 GB, free: 2.953 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.589e-05/2.981, allocations: 60 kB / 1.626 GB, free: 2.895 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/2.997, allocations: 4.655 MB / 1.631 GB, free: 14.8 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/3.008, allocations: 1.961 MB / 1.633 GB, free: 12.98 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/3.021, allocations: 10.96 MB / 1.643 GB, free: 4.031 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01484/3.036, allocations: 1.131 MB / 1.644 GB, free: 3.016 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002225/3.038, allocations: 468.4 kB / 1.645 GB, free: 2.617 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/3.038, allocations: 4 kB / 1.645 GB, free: 2.613 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03695/3.075, allocations: 15.71 MB / 1.66 GB, free: 7.512 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002325/3.075, allocations: 60 kB / 1.66 GB, free: 7.453 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/3.088, allocations: 4.42 MB / 1.665 GB, free: 3.578 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/3.099, allocations: 1.944 MB / 1.666 GB, free: 1.777 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/3.122, allocations: 15.02 MB / 1.681 GB, free: 6.688 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01543/3.137, allocations: 1.128 MB / 1.682 GB, free: 5.684 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002397/3.14, allocations: 432 kB / 1.683 GB, free: 5.316 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (744): * Single equations (assignments): 731 * 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: 2 * 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: 0 * Non-linear torn systems: 2 {5 80,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01031/3.15, allocations: 3.103 MB / 1.686 GB, free: 3.371 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005457/3.156, allocations: 1.194 MB / 1.687 GB, free: 2.164 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04095/3.197, allocations: 14.56 MB / 1.701 GB, free: 6.914 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001518/3.197, allocations: 67.98 kB / 1.701 GB, free: 6.848 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/3.197, allocations: 0 / 1.701 GB, free: 6.848 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02924/3.226, allocations: 11.9 MB / 1.713 GB, free: 10.95 MB / 1.042 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 postOpt removeSimpleEquations (simulation): time 0.0625/3.289, allocations: 25.86 MB / 1.738 GB, free: 1.043 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.494e-05/3.289, allocations: 8 kB / 1.738 GB, free: 1.035 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007323/3.296, allocations: 1.17 MB / 1.739 GB, free: 15.91 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01093/3.307, allocations: 3.271 MB / 1.742 GB, free: 12.64 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001629/3.309, allocations: 171.8 kB / 1.742 GB, free: 12.48 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/3.32, allocations: 9.583 MB / 1.752 GB, free: 2.711 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/3.32, allocations: 11.47 kB / 1.752 GB, free: 2.703 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0469/3.367, allocations: 19.62 MB / 1.771 GB, free: 14.91 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009486/3.377, allocations: 2.281 MB / 1.773 GB, free: 12.59 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005002/3.382, allocations: 104 kB / 1.773 GB, free: 12.49 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0128/3.395, allocations: 0.9709 MB / 1.774 GB, free: 11.52 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001549/3.396, allocations: 389.9 kB / 1.775 GB, free: 11.14 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00131/3.398, allocations: 235.8 kB / 1.775 GB, free: 10.91 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01861/3.416, allocations: 8.454 MB / 1.783 GB, free: 2.508 MB / 1.104 GB Notification: Performance of sort global known variables: time 5.21e-07/3.416, allocations: 0 / 1.783 GB, free: 2.508 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.5848/4.001, allocations: 5.358 MB / 1.788 GB, free: 0.501 GB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.004406/4.006, allocations: 1.239 MB / 1.79 GB, free: 0.5009 GB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.05395/4.06, allocations: 19.3 MB / 1.808 GB, free: 0.5 GB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/4.06, allocations: 2.5 kB / 1.808 GB, free: 0.5 GB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01325/4.073, allocations: 5.488 MB / 1.814 GB, free: 0.4989 GB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0363/4.109, allocations: 6.062 MB / 1.82 GB, free: 0.4978 GB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06334/4.173, allocations: 27.97 MB / 1.847 GB, free: 496.5 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009865/4.183, allocations: 6.697 MB / 1.854 GB, free: 492.7 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004746/4.187, allocations: 0.9663 MB / 1.855 GB, free: 491.8 MB / 1.104 GB Notification: Performance of SimCode: time 1.072e-06/4.187, allocations: 0 / 1.855 GB, free: 491.8 MB / 1.104 GB Notification: Performance of Templates: time 1.302/5.49, allocations: 0.6641 GB / 2.519 GB, free: 316.3 MB / 1.104 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)