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.443/1.443, allocations: 252 MB / 268 MB, free: 10.88 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.001078/0.001078, allocations: 168.9 kB / 327.6 MB, free: 2.109 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.709/1.709, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0007706/0.0007707, allocations: 89.64 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8.75 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2232, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.7664/0.9896, allocations: 349.2 MB / 1.242 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1131/1.103, allocations: 77.03 MB / 1.318 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02025/1.123, allocations: 377.2 kB / 1.318 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01575/1.139, allocations: 3.859 MB / 1.322 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0386/1.178, allocations: 10.21 MB / 1.332 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.02382/1.201, allocations: 7.177 MB / 1.339 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04709/1.248, allocations: 38.02 MB / 1.376 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02346/1.272, allocations: 13.98 MB / 1.39 GB, free: 5.707 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6465/1.919, allocations: 10.54 MB / 1.4 GB, free: 24.22 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02332/1.942, allocations: 9.504 MB / 1.409 GB, free: 24.22 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.006667/1.949, allocations: 0.493 MB / 1.41 GB, free: 24.22 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01751/1.966, allocations: 3.502 MB / 1.413 GB, free: 24.22 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.00734/1.974, allocations: 2.957 MB / 1.416 GB, free: 24.07 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01781/1.991, allocations: 6.633 MB / 1.422 GB, free: 21.87 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02292/2.014, allocations: 14.52 MB / 1.437 GB, free: 21.29 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/2.014, allocations: 3.938 kB / 1.437 GB, free: 21.29 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.365e-06/2.014, allocations: 0 / 1.437 GB, free: 21.29 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0009115/2.015, allocations: 2.188 kB / 1.437 GB, free: 21.29 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.03518/2.05, allocations: 13.64 MB / 1.45 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/2.051, allocations: 8.469 kB / 1.45 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/2.061, allocations: 2.222 MB / 1.452 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02992/2.091, allocations: 11.54 MB / 1.463 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001827/2.093, allocations: 0.7831 MB / 1.464 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003521/2.097, allocations: 0.6946 MB / 1.465 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/2.121, allocations: 8.946 MB / 1.474 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000344/2.121, allocations: 18.7 kB / 1.474 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/2.123, allocations: 251 kB / 1.474 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/2.124, allocations: 163.4 kB / 1.474 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/2.143, allocations: 7.404 MB / 1.481 GB, free: 11.36 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.08681/2.23, allocations: 50.55 MB / 1.531 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/2.241, allocations: 5.493 MB / 1.536 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007777/2.249, allocations: 3.924 MB / 1.54 GB, free: 11.27 MB / 0.9323 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.04046/2.289, allocations: 13.36 MB / 1.553 GB, free: 5.203 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009329/2.299, allocations: 3.693 MB / 1.556 GB, free: 4.168 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01103/2.31, allocations: 1.868 MB / 1.558 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=320): time 3.082e-05/2.31, allocations: 0 / 1.558 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of matching and sorting (n=506): time 0.1866/2.497, allocations: 51.97 MB / 1.609 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/2.497, allocations: 103.4 kB / 1.609 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02767/2.524, allocations: 12.62 MB / 1.621 GB, free: 0.7891 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001959/2.526, allocations: 171.1 kB / 1.622 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.007786/2.534, allocations: 6.157 MB / 1.628 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003051/2.537, allocations: 1.706 MB / 1.629 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/2.539, allocations: 142.4 kB / 1.629 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0005849/2.539, allocations: 0.6036 MB / 1.63 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01198/2.551, allocations: 5.645 MB / 1.635 GB, free: 6.398 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01446/2.566, allocations: 8.317 MB / 1.644 GB, free: 12.99 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02581/2.592, allocations: 13.31 MB / 1.657 GB, free: 15.03 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-05/2.592, allocations: 16 kB / 1.657 GB, free: 15.02 MB / 1.026 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.04678/2.639, allocations: 18.35 MB / 1.675 GB, free: 13.05 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001397/2.64, allocations: 1.933 MB / 1.676 GB, free: 10.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/2.64, allocations: 63.94 kB / 1.676 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01632/2.657, allocations: 4.797 MB / 1.681 GB, free: 5.473 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/2.668, allocations: 1.958 MB / 1.683 GB, free: 3.605 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/2.682, allocations: 10.97 MB / 1.694 GB, free: 8.539 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01513/2.697, allocations: 1.135 MB / 1.695 GB, free: 7.402 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002296/2.699, allocations: 470 kB / 1.695 GB, free: 6.945 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/2.699, allocations: 4 kB / 1.695 GB, free: 6.941 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03803/2.737, allocations: 15.78 MB / 1.711 GB, free: 7.562 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001924/2.738, allocations: 56 kB / 1.711 GB, free: 7.508 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01334/2.751, allocations: 4.422 MB / 1.715 GB, free: 3.098 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009753/2.761, allocations: 1.937 MB / 1.717 GB, free: 1.25 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02482/2.786, allocations: 15.06 MB / 1.732 GB, free: 1.961 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01421/2.8, allocations: 1.123 MB / 1.733 GB, free: 0.832 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002185/2.802, allocations: 439.1 kB / 1.733 GB, free: 416 kB / 1.089 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 (not torn): 6 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.009001/2.811, allocations: 3.097 MB / 1.736 GB, free: 13.39 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003638/2.815, allocations: 1.195 MB / 1.737 GB, free: 12.18 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03542/2.85, allocations: 14.58 MB / 1.752 GB, free: 13.64 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.721e-05/2.85, allocations: 56 kB / 1.752 GB, free: 13.59 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/2.85, allocations: 7.938 kB / 1.752 GB, free: 13.58 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02607/2.877, allocations: 11.95 MB / 1.763 GB, free: 1.629 MB / 1.12 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.05547/2.932, allocations: 25.91 MB / 1.789 GB, free: 7.652 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/2.932, allocations: 12.06 kB / 1.789 GB, free: 7.641 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006954/2.939, allocations: 1.169 MB / 1.79 GB, free: 6.512 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01034/2.949, allocations: 3.295 MB / 1.793 GB, free: 3.223 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001241/2.951, allocations: 175.9 kB / 1.793 GB, free: 3.051 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4659/3.417, allocations: 9.593 MB / 1.803 GB, free: 0.5336 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/3.417, allocations: 12.91 kB / 1.803 GB, free: 0.5336 GB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04237/3.459, allocations: 19.67 MB / 1.822 GB, free: 0.5325 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008279/3.467, allocations: 2.282 MB / 1.824 GB, free: 0.5324 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00422/3.472, allocations: 110.2 kB / 1.824 GB, free: 0.5324 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01192/3.484, allocations: 0.9576 MB / 1.825 GB, free: 0.5323 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001398/3.485, allocations: 394.3 kB / 1.825 GB, free: 0.5322 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000695/3.486, allocations: 236.2 kB / 1.826 GB, free: 0.5322 GB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01706/3.503, allocations: 8.564 MB / 1.834 GB, free: 0.5295 GB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/3.503, allocations: 3.938 kB / 1.834 GB, free: 0.5295 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.02897/3.532, allocations: 5.37 MB / 1.839 GB, free: 0.5291 GB / 1.151 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 (not torn): 5 * 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): 5 systems {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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(9,78), (1,1), (8,77)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003274/3.535, allocations: 1.274 MB / 1.841 GB, free: 0.5288 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.03848/3.574, allocations: 20.07 MB / 1.86 GB, free: 0.5228 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/3.574, allocations: 3.719 kB / 1.86 GB, free: 0.5228 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01039/3.584, allocations: 5.501 MB / 1.866 GB, free: 0.5211 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04724/3.631, allocations: 6.019 MB / 1.871 GB, free: 0.5179 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04466/3.676, allocations: 29.2 MB / 1.9 GB, free: 0.4922 GB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007767/3.684, allocations: 6.693 MB / 1.906 GB, free: 499.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004561/3.688, allocations: 0.9698 MB / 1.907 GB, free: 498.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.32e-07/3.688, allocations: 0 / 1.907 GB, free: 498.2 MB / 1.151 GB Notification: Performance of Templates: time 1.379/5.068, allocations: 0.6635 GB / 2.571 GB, free: 377.1 MB / 1.151 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)