Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 252 MB / 268 MB, free: 10.86 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.001074/0.001074, allocations: 192.4 kB / 327.6 MB, free: 2.094 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.864/1.864, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008451/0.0008451, allocations: 83.33 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003621, allocations: 8.562 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2253, allocations: 106.3 MB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.6919/0.9172, allocations: 201 MB / 1.098 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.9426, allocations: 16.56 MB / 1.114 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.9452, allocations: 46.94 kB / 1.114 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.9479, allocations: 0.8624 MB / 1.115 GB, free: 1.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007236/0.9551, allocations: 2.296 MB / 1.117 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007798/0.963, allocations: 2.47 MB / 1.119 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006182/0.9692, allocations: 4.887 MB / 1.124 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.9712, allocations: 1.176 MB / 1.125 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/0.9756, allocations: 1.766 MB / 1.127 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.9784, allocations: 1.126 MB / 1.128 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.9787, allocations: 60.91 kB / 1.128 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005519/0.9843, allocations: 2.692 MB / 1.131 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007655/0.9851, allocations: 0.4965 MB / 1.131 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.9863, allocations: 0.8216 MB / 1.132 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.9906, allocations: 2.518 MB / 1.135 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9906, allocations: 6.844 kB / 1.135 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.375e-06/0.9906, allocations: 0.5312 kB / 1.135 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.686e-05/0.9907, allocations: 0 / 1.135 GB, free: 16.25 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004634/0.9953, allocations: 1.934 MB / 1.137 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.9954, allocations: 8.938 kB / 1.137 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.9982, allocations: 451.5 kB / 1.137 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/1.001, allocations: 1.34 MB / 1.138 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/1.001, allocations: 77.91 kB / 1.138 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/1.001, allocations: 110.1 kB / 1.138 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/1.003, allocations: 1.194 MB / 1.14 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/1.004, allocations: 3.875 kB / 1.14 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.864e-05/1.004, allocations: 38.16 kB / 1.14 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/1.004, allocations: 34.28 kB / 1.14 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/1.005, allocations: 0.9021 MB / 1.141 GB, free: 13.91 MB / 0.7136 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.007413/1.013, allocations: 4.908 MB / 1.145 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.015, allocations: 0.7974 MB / 1.146 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/1.015, allocations: 421.1 kB / 1.147 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/1.016, allocations: 109.2 kB / 1.147 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009017/1.017, allocations: 478.9 kB / 1.147 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008193/1.017, allocations: 80.94 kB / 1.147 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 3.958e-06/1.017, allocations: 4 kB / 1.147 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.002911/1.02, allocations: 1.241 MB / 1.148 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/1.02, allocations: 137.1 kB / 1.149 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/1.022, allocations: 1.199 MB / 1.15 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.491e-05/1.022, allocations: 41.05 kB / 1.15 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005597/1.023, allocations: 0.6694 MB / 1.15 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/1.023, allocations: 240.3 kB / 1.151 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/1.023, allocations: 18.78 kB / 1.151 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.023, allocations: 339.2 kB / 1.151 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007446/1.024, allocations: 395.8 kB / 1.151 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009318/1.025, allocations: 0.6534 MB / 1.152 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/1.026, allocations: 1.016 MB / 1.153 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.026, allocations: 7.562 kB / 1.153 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002608/1.029, allocations: 1.286 MB / 1.154 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/1.029, allocations: 281 kB / 1.154 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/1.029, allocations: 9.031 kB / 1.154 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/1.03, allocations: 122.3 kB / 1.155 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/1.031, allocations: 203.1 kB / 1.155 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009727/1.032, allocations: 1.221 MB / 1.156 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.033, allocations: 96.84 kB / 1.156 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.033, allocations: 47.39 kB / 1.156 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.033, allocations: 4.812 kB / 1.156 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002144/1.035, allocations: 1.078 MB / 1.157 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/1.035, allocations: 9.844 kB / 1.157 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/1.036, allocations: 151.1 kB / 1.157 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/1.037, allocations: 177 kB / 1.158 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/1.041, allocations: 2.827 MB / 1.16 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.043, allocations: 78.95 kB / 1.16 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.043, allocations: 43.55 kB / 1.16 GB, free: 2.062 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0009398/1.044, allocations: 476.6 kB / 1.161 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/1.044, allocations: 138.2 kB / 1.161 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/1.046, allocations: 0.9488 MB / 1.162 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.046, allocations: 8.469 kB / 1.162 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/1.046, allocations: 0 / 1.162 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001593/1.048, allocations: 0.8442 MB / 1.163 GB, free: 0.5977 MB / 0.7136 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.004658/1.052, allocations: 2.252 MB / 1.165 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.052, allocations: 3.562 kB / 1.165 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/1.053, allocations: 159.8 kB / 1.165 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002631/1.053, allocations: 80.94 kB / 1.165 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/1.054, allocations: 25.61 kB / 1.165 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007527/1.054, allocations: 1.2 MB / 1.166 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.054, allocations: 2.5 kB / 1.166 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/1.057, allocations: 1.413 MB / 1.168 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007453/1.058, allocations: 279.4 kB / 1.168 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/1.058, allocations: 15.38 kB / 1.168 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/1.059, allocations: 98.5 kB / 1.168 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.059, allocations: 52.06 kB / 1.168 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/1.059, allocations: 27.45 kB / 1.168 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001167/1.06, allocations: 0.8147 MB / 1.169 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.06, allocations: 0 / 1.169 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002561/1.063, allocations: 0.8355 MB / 1.17 GB, free: 11.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/1.064, allocations: 451.2 kB / 1.17 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003597/1.068, allocations: 1.695 MB / 1.172 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.068, allocations: 3.938 kB / 1.172 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009199/1.069, allocations: 407.3 kB / 1.172 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003487/1.072, allocations: 0.6398 MB / 1.173 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/1.077, allocations: 3.296 MB / 1.176 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009548/1.078, allocations: 1.291 MB / 1.177 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/1.079, allocations: 103.4 kB / 1.177 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/1.079, allocations: 0 / 1.177 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of Templates: time 0.05213/1.131, allocations: 37.88 MB / 1.214 GB, free: 14.14 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)