Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.605/2.605, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 177 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.236/2.236, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 98.64 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006941/0.0006942, allocations: 11.75 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2568, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.9594/1.216, allocations: 170.3 MB / 1.144 GB, free: 13.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0349/1.251, allocations: 14.64 MB / 1.159 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/1.254, allocations: 45.97 kB / 1.159 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004302/1.258, allocations: 0.7699 MB / 1.16 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/1.269, allocations: 2.091 MB / 1.162 GB, free: 300 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01177/1.281, allocations: 2.316 MB / 1.164 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006598/1.287, allocations: 2.143 MB / 1.166 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/1.29, allocations: 1.052 MB / 1.167 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00581/1.296, allocations: 1.461 MB / 1.168 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/1.299, allocations: 0.7433 MB / 1.169 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004565/1.299, allocations: 59.44 kB / 1.169 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005442/1.305, allocations: 1.259 MB / 1.17 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001448/1.306, allocations: 454.8 kB / 1.171 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/1.307, allocations: 354.8 kB / 1.171 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005691/1.313, allocations: 2.232 MB / 1.173 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.313, allocations: 0 / 1.173 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.216e-06/1.313, allocations: 0 / 1.173 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.468e-05/1.313, allocations: 0 / 1.173 GB, free: 8.727 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.006212/1.32, allocations: 1.909 MB / 1.175 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.32, allocations: 10.31 kB / 1.175 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004459/1.324, allocations: 455.2 kB / 1.176 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/1.329, allocations: 1.311 MB / 1.177 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/1.329, allocations: 82 kB / 1.177 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000447/1.329, allocations: 116.5 kB / 1.177 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/1.333, allocations: 1.153 MB / 1.178 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/1.333, allocations: 6.5 kB / 1.178 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/1.333, allocations: 39.84 kB / 1.178 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.603e-05/1.333, allocations: 39.38 kB / 1.178 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/1.337, allocations: 0.8768 MB / 1.179 GB, free: 4.824 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.01141/1.348, allocations: 4.866 MB / 1.184 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/1.352, allocations: 0.7805 MB / 1.185 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/1.352, allocations: 22.84 kB / 1.185 GB, free: 228 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/1.353, allocations: 457.2 kB / 1.185 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008718/1.354, allocations: 80.19 kB / 1.185 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.729e-06/1.354, allocations: 0 / 1.185 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.005328/1.36, allocations: 1.207 MB / 1.186 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.36, allocations: 141 kB / 1.187 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/1.362, allocations: 1.171 MB / 1.188 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002647/1.363, allocations: 44.98 kB / 1.188 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009147/1.364, allocations: 0.6694 MB / 1.188 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/1.364, allocations: 240.8 kB / 1.189 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/1.364, allocations: 25.42 kB / 1.189 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.364, allocations: 337.5 kB / 1.189 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/1.366, allocations: 340.7 kB / 1.189 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.367, allocations: 0.5847 MB / 1.19 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/1.369, allocations: 439.9 kB / 1.19 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/1.369, allocations: 2.625 kB / 1.19 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005873/1.374, allocations: 1.16 MB / 1.191 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001452/1.376, allocations: 2.163 MB / 1.194 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.032e-05/1.376, allocations: 5.906 kB / 1.194 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008908/1.377, allocations: 81.8 kB / 1.194 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/1.379, allocations: 204 kB / 1.194 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/1.382, allocations: 1.209 MB / 1.195 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/1.385, allocations: 86.5 kB / 1.195 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/1.385, allocations: 52.48 kB / 1.195 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.385, allocations: 3 kB / 1.195 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005062/1.391, allocations: 1.06 MB / 1.196 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.878e-05/1.391, allocations: 11.42 kB / 1.196 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/1.392, allocations: 149.4 kB / 1.196 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.394, allocations: 181.5 kB / 1.197 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009417/1.403, allocations: 2.883 MB / 1.199 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/1.406, allocations: 86.16 kB / 1.199 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/1.407, allocations: 43.08 kB / 1.199 GB, free: 5.027 MB / 0.7292 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001734/1.408, allocations: 470.2 kB / 1.2 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/1.409, allocations: 136.2 kB / 1.2 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/1.414, allocations: 0.9315 MB / 1.201 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/1.414, allocations: 11.45 kB / 1.201 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.414, allocations: 0 / 1.201 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003752/1.418, allocations: 0.8346 MB / 1.202 GB, free: 3.301 MB / 0.7292 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.007195/1.425, allocations: 2.211 MB / 1.204 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.425, allocations: 4 kB / 1.204 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.427, allocations: 155.8 kB / 1.204 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/1.427, allocations: 80.89 kB / 1.204 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.427, allocations: 23.98 kB / 1.204 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/1.428, allocations: 1.193 MB / 1.205 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.429, allocations: 0 / 1.205 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/1.434, allocations: 1.45 MB / 1.207 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009684/1.435, allocations: 267.4 kB / 1.207 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/1.435, allocations: 23.98 kB / 1.207 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.437, allocations: 87.81 kB / 1.207 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/1.437, allocations: 52.48 kB / 1.207 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.437, allocations: 27.98 kB / 1.207 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001913/1.439, allocations: 0.7881 MB / 1.208 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.12e-07/1.439, allocations: 0 / 1.208 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003835/1.443, allocations: 0.8341 MB / 1.209 GB, free: 11.89 MB / 0.7448 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/1.445, allocations: 445.7 kB / 1.209 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005949/1.451, allocations: 1.625 MB / 1.211 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.451, allocations: 0 / 1.211 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/1.452, allocations: 399.7 kB / 1.211 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005164/1.458, allocations: 0.6409 MB / 1.212 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007873/1.465, allocations: 3.134 MB / 1.215 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/1.467, allocations: 1.312 MB / 1.216 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00246/1.469, allocations: 343.3 kB / 1.216 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/1.47, allocations: 107.4 kB / 1.217 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/1.47, allocations: 4 kB / 1.217 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of Templates: time 0.07918/1.549, allocations: 27.95 MB / 1.244 GB, free: 8.086 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)