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 1.763/1.763, allocations: 287.5 MB / 302.6 MB, free: 8.09 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.001433/0.001433, allocations: 172.6 kB / 371.2 MB, free: 10.75 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.66/1.66, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007857/0.0007859, allocations: 90.3 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 11.52 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.7716/1.029, allocations: 187.3 MB / 1.162 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02453/1.053, allocations: 15.16 MB / 1.176 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/1.056, allocations: 51.53 kB / 1.176 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00291/1.059, allocations: 0.6357 MB / 1.177 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007686/1.067, allocations: 1.814 MB / 1.179 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008716/1.075, allocations: 2.17 MB / 1.181 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008483/1.084, allocations: 4.129 MB / 1.185 GB, free: 236 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/1.086, allocations: 1.153 MB / 1.186 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00515/1.092, allocations: 1.566 MB / 1.188 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/1.094, allocations: 1.06 MB / 1.189 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/1.094, allocations: 63.5 kB / 1.189 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004427/1.099, allocations: 1.564 MB / 1.19 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0006868/1.099, allocations: 490.8 kB / 1.191 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007166/1.1, allocations: 357.7 kB / 1.191 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003818/1.104, allocations: 2.377 MB / 1.193 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.104, allocations: 0 / 1.193 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.679e-06/1.104, allocations: 0 / 1.193 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.419e-05/1.104, allocations: 3.938 kB / 1.193 GB, free: 11.1 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.004274/1.108, allocations: 1.932 MB / 1.195 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.108, allocations: 10.84 kB / 1.195 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/1.111, allocations: 455 kB / 1.196 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/1.114, allocations: 1.329 MB / 1.197 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/1.114, allocations: 79.5 kB / 1.197 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/1.114, allocations: 109.9 kB / 1.197 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/1.116, allocations: 1.177 MB / 1.198 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.116, allocations: 1.875 kB / 1.198 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/1.116, allocations: 37.28 kB / 1.198 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/1.116, allocations: 34.38 kB / 1.198 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/1.118, allocations: 0.8911 MB / 1.199 GB, free: 7.145 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.007015/1.125, allocations: 4.887 MB / 1.204 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/1.127, allocations: 0.8167 MB / 1.205 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007996/1.128, allocations: 426.1 kB / 1.205 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/1.128, allocations: 109.2 kB / 1.205 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/1.129, allocations: 469.3 kB / 1.206 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000657/1.129, allocations: 82.83 kB / 1.206 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.327e-06/1.129, allocations: 0 / 1.206 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.003161/1.133, allocations: 1.242 MB / 1.207 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.965e-05/1.133, allocations: 140.9 kB / 1.207 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/1.134, allocations: 1.178 MB / 1.208 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.135, allocations: 41.7 kB / 1.208 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/1.135, allocations: 0.6652 MB / 1.209 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/1.135, allocations: 236.5 kB / 1.209 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/1.135, allocations: 20 kB / 1.209 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.136, allocations: 337.9 kB / 1.21 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007585/1.136, allocations: 349.8 kB / 1.21 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009297/1.137, allocations: 0.5903 MB / 1.211 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/1.139, allocations: 0.9296 MB / 1.211 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/1.139, allocations: 3.938 kB / 1.211 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002597/1.142, allocations: 1.164 MB / 1.213 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002385/1.142, allocations: 282 kB / 1.213 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/1.142, allocations: 11.94 kB / 1.213 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/1.142, allocations: 88.78 kB / 1.213 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/1.143, allocations: 203.7 kB / 1.213 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/1.144, allocations: 1.216 MB / 1.214 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/1.146, allocations: 90.23 kB / 1.214 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/1.146, allocations: 47.98 kB / 1.215 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.146, allocations: 4 kB / 1.215 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001999/1.148, allocations: 1.07 MB / 1.216 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.148, allocations: 8 kB / 1.216 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/1.148, allocations: 157 kB / 1.216 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/1.149, allocations: 183.8 kB / 1.216 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004203/1.153, allocations: 2.814 MB / 1.219 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.155, allocations: 87.91 kB / 1.219 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/1.155, allocations: 39.98 kB / 1.219 GB, free: 4.777 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.001035/1.156, allocations: 472.7 kB / 1.219 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/1.156, allocations: 134.3 kB / 1.219 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/1.158, allocations: 0.9409 MB / 1.22 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.158, allocations: 8 kB / 1.22 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/1.158, allocations: 0 / 1.22 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/1.16, allocations: 0.8365 MB / 1.221 GB, free: 2.336 MB / 0.7448 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.004221/1.164, allocations: 2.254 MB / 1.223 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.164, allocations: 8 kB / 1.223 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/1.165, allocations: 155.7 kB / 1.223 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/1.165, allocations: 84.78 kB / 1.224 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/1.165, allocations: 16 kB / 1.224 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007336/1.166, allocations: 1.205 MB / 1.225 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.166, allocations: 0 / 1.225 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/1.169, allocations: 1.415 MB / 1.226 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/1.169, allocations: 279.4 kB / 1.226 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/1.169, allocations: 12 kB / 1.226 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009682/1.17, allocations: 95.7 kB / 1.226 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.171, allocations: 56.42 kB / 1.227 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/1.171, allocations: 27.98 kB / 1.227 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00132/1.172, allocations: 0.792 MB / 1.227 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.172, allocations: 0 / 1.227 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002968/1.175, allocations: 0.8225 MB / 1.228 GB, free: 10.93 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.001472/1.176, allocations: 463.7 kB / 1.229 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003766/1.18, allocations: 1.652 MB / 1.23 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.18, allocations: 0 / 1.23 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009428/1.181, allocations: 411.9 kB / 1.231 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/1.185, allocations: 0.6335 MB / 1.231 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/1.19, allocations: 3.16 MB / 1.234 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.191, allocations: 1.285 MB / 1.236 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001694/1.193, allocations: 331.4 kB / 1.236 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/1.194, allocations: 103.4 kB / 1.236 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/1.194, allocations: 0 / 1.236 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of Templates: time 0.05297/1.247, allocations: 28.23 MB / 1.264 GB, free: 6.824 MB / 0.7917 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)