Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.888/1.888, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001108/0.001108, allocations: 175.9 kB / 371.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 0.6306 GB, free: 10.06 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.0009952/0.0009952, allocations: 106.8 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.000415, allocations: 11.09 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2508, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.621/0.8718, allocations: 170.3 MB / 1.146 GB, free: 13.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.892, allocations: 14.63 MB / 1.16 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.894, allocations: 49.16 kB / 1.16 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.8966, allocations: 0.7593 MB / 1.161 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006429/0.9031, allocations: 2.097 MB / 1.163 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007313/0.9104, allocations: 2.321 MB / 1.165 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004457/0.9149, allocations: 2.136 MB / 1.167 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.9174, allocations: 1.055 MB / 1.168 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.9215, allocations: 1.46 MB / 1.17 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.9233, allocations: 0.7398 MB / 1.17 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003709/0.9237, allocations: 59.12 kB / 1.17 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.9271, allocations: 1.272 MB / 1.172 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007433/0.9279, allocations: 453.5 kB / 1.172 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007442/0.9287, allocations: 353.6 kB / 1.172 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.9323, allocations: 2.233 MB / 1.175 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9323, allocations: 0 / 1.175 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9323, allocations: 0 / 1.175 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.211e-05/0.9324, allocations: 0 / 1.175 GB, free: 7.895 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.004871/0.9373, allocations: 1.906 MB / 1.176 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.9373, allocations: 7.438 kB / 1.177 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/0.9403, allocations: 457.1 kB / 1.177 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.9434, allocations: 1.308 MB / 1.178 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-05/0.9435, allocations: 84.72 kB / 1.178 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.9438, allocations: 106.1 kB / 1.178 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.9461, allocations: 1.163 MB / 1.18 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.9461, allocations: 0 / 1.18 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.9462, allocations: 42.12 kB / 1.18 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.9462, allocations: 36.98 kB / 1.18 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.9482, allocations: 0.8771 MB / 1.18 GB, free: 3.996 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.007348/0.9556, allocations: 4.869 MB / 1.185 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.9574, allocations: 0.7777 MB / 1.186 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.206e-05/0.9575, allocations: 22.78 kB / 1.186 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008885/0.9584, allocations: 452.4 kB / 1.186 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005607/0.959, allocations: 80.47 kB / 1.187 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.228e-06/0.959, allocations: 3.938 kB / 1.187 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.003067/0.9621, allocations: 1.212 MB / 1.188 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.9622, allocations: 139.4 kB / 1.188 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.9637, allocations: 1.168 MB / 1.189 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.9638, allocations: 53.81 kB / 1.189 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/0.9644, allocations: 0.6599 MB / 1.19 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.9647, allocations: 245 kB / 1.19 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.9647, allocations: 18.25 kB / 1.19 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.9649, allocations: 340 kB / 1.19 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.9656, allocations: 335.2 kB / 1.191 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.9665, allocations: 0.5879 MB / 1.191 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008309/0.9674, allocations: 442.6 kB / 1.192 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.9674, allocations: 1.875 kB / 1.192 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002385/0.9698, allocations: 1.153 MB / 1.193 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001104/0.9709, allocations: 2.159 MB / 1.195 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.9709, allocations: 11.56 kB / 1.195 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.9714, allocations: 86.41 kB / 1.195 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.9724, allocations: 206 kB / 1.195 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.9734, allocations: 1.21 MB / 1.196 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9748, allocations: 90.23 kB / 1.196 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.9749, allocations: 48.58 kB / 1.196 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.975, allocations: 10.25 kB / 1.196 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00223/0.9772, allocations: 1.057 MB / 1.197 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.9772, allocations: 7.656 kB / 1.197 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/0.9778, allocations: 152.5 kB / 1.198 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.9785, allocations: 183.9 kB / 1.198 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004192/0.9827, allocations: 2.879 MB / 1.201 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.9839, allocations: 79.88 kB / 1.201 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.984, allocations: 49.36 kB / 1.201 GB, free: 4.199 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.0007806/0.9848, allocations: 470.9 kB / 1.201 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.9851, allocations: 138.8 kB / 1.201 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.9872, allocations: 0.924 MB / 1.202 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.9872, allocations: 8 kB / 1.202 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.9872, allocations: 0 / 1.202 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/0.9889, allocations: 0.8326 MB / 1.203 GB, free: 2.238 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.004289/0.9932, allocations: 2.207 MB / 1.205 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.9932, allocations: 0 / 1.205 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/0.994, allocations: 167.7 kB / 1.205 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.9943, allocations: 76.8 kB / 1.205 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.9944, allocations: 32.06 kB / 1.205 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007082/0.9951, allocations: 1.189 MB / 1.207 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9951, allocations: 0 / 1.207 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.9978, allocations: 1.442 MB / 1.208 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.9984, allocations: 275.4 kB / 1.208 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.9986, allocations: 16 kB / 1.208 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.9995, allocations: 91.8 kB / 1.208 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.9996, allocations: 56.44 kB / 1.208 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.9997, allocations: 27.98 kB / 1.208 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001156/1.001, allocations: 0.7841 MB / 1.209 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/1.001, allocations: 4 kB / 1.209 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002392/1.003, allocations: 0.8341 MB / 1.21 GB, free: 10.82 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.001161/1.004, allocations: 449.9 kB / 1.21 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003348/1.008, allocations: 1.621 MB / 1.212 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.008, allocations: 4 kB / 1.212 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008877/1.009, allocations: 395.4 kB / 1.212 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/1.011, allocations: 0.6361 MB / 1.213 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/1.016, allocations: 3.13 MB / 1.216 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009937/1.017, allocations: 1.312 MB / 1.217 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001487/1.019, allocations: 339.3 kB / 1.218 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/1.019, allocations: 111.4 kB / 1.218 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/1.019, allocations: 0 / 1.218 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.04742/1.066, allocations: 27.97 MB / 1.245 GB, free: 7.047 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)