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.569/1.569, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001087/0.001087, allocations: 175.5 kB / 326.5 MB, free: 2.699 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.945/1.945, 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.0007341/0.000734, allocations: 90.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 10.78 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.6615/0.8761, allocations: 203.4 MB / 1.095 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02084/0.897, allocations: 16.77 MB / 1.112 GB, free: 1.086 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.8998, allocations: 49.41 kB / 1.112 GB, free: 1.086 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0029/0.9027, allocations: 0.8509 MB / 1.113 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00749/0.9102, allocations: 2.301 MB / 1.115 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008715/0.9189, allocations: 2.467 MB / 1.117 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006616/0.9256, allocations: 4.895 MB / 1.122 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.9279, allocations: 1.153 MB / 1.123 GB, free: 0.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/0.9327, allocations: 1.764 MB / 1.125 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.9353, allocations: 1.136 MB / 1.126 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002643/0.9356, allocations: 60.62 kB / 1.126 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005307/0.9409, allocations: 2.692 MB / 1.129 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007437/0.9417, allocations: 0.4987 MB / 1.129 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.9431, allocations: 0.7912 MB / 1.13 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.9479, allocations: 2.525 MB / 1.132 GB, free: 328 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9479, allocations: 0.5625 kB / 1.132 GB, free: 328 kB / 0.698 GB Notification: Performance of FrontEnd: time 4.138e-06/0.9479, allocations: 0.5312 kB / 1.132 GB, free: 328 kB / 0.698 GB Notification: Performance of Transformations before backend: time 4.88e-05/0.9479, allocations: 0 / 1.132 GB, free: 328 kB / 0.698 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.005088/0.953, allocations: 1.931 MB / 1.134 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.9531, allocations: 11.34 kB / 1.134 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.9561, allocations: 445.5 kB / 1.135 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/0.9591, allocations: 1.344 MB / 1.136 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/0.9592, allocations: 87.14 kB / 1.136 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.9594, allocations: 107.2 kB / 1.136 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.9616, allocations: 1.201 MB / 1.137 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.9616, allocations: 0 / 1.137 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.9618, allocations: 42.53 kB / 1.137 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.9618, allocations: 31.38 kB / 1.137 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.964, allocations: 0.901 MB / 1.138 GB, free: 14.5 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.006985/0.971, allocations: 4.896 MB / 1.143 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.9728, allocations: 0.7976 MB / 1.144 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/0.9736, allocations: 425.9 kB / 1.144 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.9738, allocations: 110.1 kB / 1.144 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008787/0.9747, allocations: 477.6 kB / 1.145 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006384/0.9754, allocations: 86.81 kB / 1.145 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 3.787e-06/0.9754, allocations: 0 / 1.145 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.002916/0.9783, allocations: 1.234 MB / 1.146 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.9784, allocations: 141.1 kB / 1.146 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.9799, allocations: 1.193 MB / 1.147 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-05/0.98, allocations: 43.73 kB / 1.148 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/0.9806, allocations: 0.6753 MB / 1.148 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.9808, allocations: 243.7 kB / 1.148 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.9809, allocations: 79.2 kB / 1.148 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.9811, allocations: 345.9 kB / 1.149 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007307/0.9818, allocations: 390.6 kB / 1.149 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000969/0.9828, allocations: 0.661 MB / 1.15 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.9844, allocations: 1.011 MB / 1.151 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9844, allocations: 3.469 kB / 1.151 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002222/0.9866, allocations: 1.272 MB / 1.152 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.9868, allocations: 277.1 kB / 1.152 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.9869, allocations: 17.19 kB / 1.152 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004552/0.9873, allocations: 119.2 kB / 1.152 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.9882, allocations: 199.9 kB / 1.153 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007809/0.989, allocations: 1.216 MB / 1.154 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.9902, allocations: 89.7 kB / 1.154 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.9903, allocations: 50.67 kB / 1.154 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.9903, allocations: 3.156 kB / 1.154 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002196/0.9925, allocations: 1.079 MB / 1.155 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.9925, allocations: 8.094 kB / 1.155 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006734/0.9932, allocations: 154.2 kB / 1.155 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/0.9941, allocations: 179.7 kB / 1.155 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004993/0.9991, allocations: 2.791 MB / 1.158 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.001, allocations: 78.78 kB / 1.158 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/1.001, allocations: 44.3 kB / 1.158 GB, free: 2.047 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,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.0009751/1.002, allocations: 475.5 kB / 1.159 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/1.002, allocations: 138.2 kB / 1.159 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/1.004, allocations: 0.9461 MB / 1.16 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.004, allocations: 5.094 kB / 1.16 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.004, allocations: 0 / 1.16 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/1.006, allocations: 0.8389 MB / 1.161 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.004804/1.01, allocations: 2.258 MB / 1.163 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.01, allocations: 3 kB / 1.163 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/1.011, allocations: 165.1 kB / 1.163 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/1.012, allocations: 83.2 kB / 1.163 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/1.012, allocations: 22.36 kB / 1.163 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007062/1.012, allocations: 1.193 MB / 1.164 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.012, allocations: 5.938 kB / 1.164 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/1.015, allocations: 1.408 MB / 1.166 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007822/1.016, allocations: 280.8 kB / 1.166 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/1.016, allocations: 18.72 kB / 1.166 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.017, allocations: 97.88 kB / 1.166 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.017, allocations: 48.84 kB / 1.166 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/1.018, allocations: 28.48 kB / 1.166 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001589/1.019, allocations: 0.8162 MB / 1.167 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.804e-06/1.019, allocations: 0 / 1.167 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003232/1.022, allocations: 0.8429 MB / 1.168 GB, free: 12.04 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.001555/1.024, allocations: 453.2 kB / 1.168 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003653/1.028, allocations: 1.719 MB / 1.17 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/1.028, allocations: 0 / 1.17 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009255/1.029, allocations: 399.2 kB / 1.17 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/1.032, allocations: 0.6432 MB / 1.171 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/1.038, allocations: 3.222 MB / 1.174 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.039, allocations: 1.292 MB / 1.175 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/1.04, allocations: 103.4 kB / 1.175 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/1.04, allocations: 0 / 1.175 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of Templates: time 0.04913/1.089, allocations: 37.88 MB / 1.212 GB, free: 14.55 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)