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.651/1.651, allocations: 288.4 MB / 303.7 MB, free: 8.027 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.001063/0.001063, allocations: 181.2 kB / 372.3 MB, free: 10.1 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.897/1.897, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0007772/0.0007772, allocations: 89.17 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005868/0.0005872, allocations: 16.5 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3241, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.8195/1.144, allocations: 187.3 MB / 1.163 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03124/1.175, allocations: 15.16 MB / 1.178 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003302/1.178, allocations: 46.44 kB / 1.178 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003551/1.182, allocations: 0.7601 MB / 1.179 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008937/1.191, allocations: 2.103 MB / 1.181 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009455/1.2, allocations: 2.203 MB / 1.183 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007454/1.208, allocations: 4.139 MB / 1.187 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/1.211, allocations: 1.159 MB / 1.188 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00542/1.217, allocations: 1.678 MB / 1.19 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/1.22, allocations: 1.064 MB / 1.191 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006445/1.221, allocations: 60.25 kB / 1.191 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006738/1.228, allocations: 2.635 MB / 1.193 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001212/1.229, allocations: 490 kB / 1.194 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002253/1.231, allocations: 0.7763 MB / 1.195 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005157/1.236, allocations: 2.491 MB / 1.197 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.236, allocations: 0 / 1.197 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.667e-06/1.236, allocations: 0 / 1.197 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001288/1.236, allocations: 3.938 kB / 1.197 GB, free: 8.688 MB / 0.7292 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.005459/1.242, allocations: 1.925 MB / 1.199 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.242, allocations: 10.81 kB / 1.199 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/1.245, allocations: 450 kB / 1.199 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/1.249, allocations: 1.334 MB / 1.201 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/1.249, allocations: 88.27 kB / 1.201 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004881/1.25, allocations: 102.8 kB / 1.201 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/1.254, allocations: 1.173 MB / 1.202 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/1.254, allocations: 2.844 kB / 1.202 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/1.254, allocations: 40.03 kB / 1.202 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/1.254, allocations: 38.56 kB / 1.202 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/1.256, allocations: 0.8938 MB / 1.203 GB, free: 4.727 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 preOpt removeSimpleEquations (simulation): time 0.008805/1.265, allocations: 4.893 MB / 1.208 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/1.267, allocations: 0.7869 MB / 1.208 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009374/1.268, allocations: 422.7 kB / 1.209 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/1.268, allocations: 109.6 kB / 1.209 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009806/1.269, allocations: 475.3 kB / 1.209 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008428/1.27, allocations: 87.25 kB / 1.21 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=69): time 5.17e-06/1.27, allocations: 0 / 1.21 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69): time 0.003384/1.274, allocations: 1.237 MB / 1.211 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/1.274, allocations: 141.1 kB / 1.211 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/1.276, allocations: 1.173 MB / 1.212 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/1.276, allocations: 45.7 kB / 1.212 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005878/1.277, allocations: 0.6691 MB / 1.213 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/1.277, allocations: 244.5 kB / 1.213 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/1.277, allocations: 16 kB / 1.213 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001943/1.277, allocations: 338 kB / 1.213 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007807/1.278, allocations: 341.8 kB / 1.214 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009205/1.279, allocations: 0.602 MB / 1.214 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/1.28, allocations: 0.914 MB / 1.215 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.28, allocations: 7.938 kB / 1.215 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002616/1.283, allocations: 1.172 MB / 1.216 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002199/1.283, allocations: 275.8 kB / 1.216 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/1.283, allocations: 11.92 kB / 1.216 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/1.284, allocations: 80.8 kB / 1.217 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/1.285, allocations: 207.7 kB / 1.217 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/1.286, allocations: 1.22 MB / 1.218 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/1.287, allocations: 91.84 kB / 1.218 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.287, allocations: 47.98 kB / 1.218 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/1.287, allocations: 4 kB / 1.218 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002107/1.289, allocations: 1.066 MB / 1.219 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/1.289, allocations: 7.984 kB / 1.219 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005368/1.29, allocations: 153.2 kB / 1.219 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/1.291, allocations: 179.7 kB / 1.219 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/1.295, allocations: 2.821 MB / 1.222 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.297, allocations: 89.62 kB / 1.222 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.297, allocations: 43.98 kB / 1.222 GB, free: 1.305 MB / 0.7448 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.001132/1.298, allocations: 468.7 kB / 1.223 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/1.298, allocations: 134.3 kB / 1.223 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/1.301, allocations: 0.9333 MB / 1.224 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.301, allocations: 8 kB / 1.224 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.301, allocations: 0 / 1.224 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001676/1.302, allocations: 0.8481 MB / 1.225 GB, free: 14.86 MB / 0.7605 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.005988/1.308, allocations: 2.261 MB / 1.227 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/1.309, allocations: 3.938 kB / 1.227 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/1.309, allocations: 155.8 kB / 1.227 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/1.31, allocations: 80.8 kB / 1.227 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/1.31, allocations: 24.11 kB / 1.227 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00083/1.311, allocations: 1.193 MB / 1.228 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.311, allocations: 0 / 1.228 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/1.314, allocations: 1.419 MB / 1.23 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008595/1.315, allocations: 271.6 kB / 1.23 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/1.315, allocations: 24 kB / 1.23 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.316, allocations: 99.69 kB / 1.23 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.316, allocations: 48.5 kB / 1.23 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/1.316, allocations: 23.98 kB / 1.23 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001712/1.318, allocations: 0.7998 MB / 1.231 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.41e-07/1.318, allocations: 0 / 1.231 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003298/1.321, allocations: 0.8225 MB / 1.232 GB, free: 7.449 MB / 0.7605 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.00159/1.323, allocations: 452.4 kB / 1.232 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004011/1.327, allocations: 1.641 MB / 1.234 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/1.327, allocations: 0 / 1.234 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009966/1.328, allocations: 411.8 kB / 1.234 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/1.332, allocations: 0.6405 MB / 1.235 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006249/1.338, allocations: 3.151 MB / 1.238 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/1.34, allocations: 1.293 MB / 1.239 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002029/1.342, allocations: 327.4 kB / 1.239 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/1.343, allocations: 103.4 kB / 1.24 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of SimCode: time 2.084e-06/1.343, allocations: 0 / 1.24 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.05584/1.398, allocations: 28.63 MB / 1.267 GB, free: 3 MB / 0.7917 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)