Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 88.52 kB / 19.94 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 173.9 kB / 23.21 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.389/2.389, allocations: 438.1 MB / 0.6817 GB, free: 14.23 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan") translateModel(Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 1.08 GB, free: 25.89 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.965e-05, allocations: 2.281 kB / 1.08 GB, free: 25.89 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan): time 0.1687/0.1687, allocations: 192.7 MB / 1.268 GB, free: 13.96 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.1882, allocations: 17.38 MB / 1.285 GB, free: 12.54 MB / 1.151 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.1908, allocations: 87.31 kB / 1.285 GB, free: 12.45 MB / 1.151 GB Notification: Performance of NFTyping.typeComponents: time 0.004446/0.1953, allocations: 1.878 MB / 1.287 GB, free: 10.57 MB / 1.151 GB Notification: Performance of NFTyping.typeBindings: time 0.007122/0.2024, allocations: 3.439 MB / 1.29 GB, free: 7.113 MB / 1.151 GB Notification: Performance of NFTyping.typeClassSections: time 0.00502/0.2074, allocations: 2.463 MB / 1.293 GB, free: 4.652 MB / 1.151 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.2184, allocations: 10.26 MB / 1.303 GB, free: 10.37 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.2204, allocations: 1.274 MB / 1.304 GB, free: 9.07 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004521/0.2249, allocations: 2.863 MB / 1.307 GB, free: 6.199 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.2274, allocations: 1.276 MB / 1.308 GB, free: 4.926 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003838/0.2277, allocations: 196 kB / 1.308 GB, free: 4.734 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/0.2323, allocations: 2.836 MB / 1.311 GB, free: 1.891 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 0.000782/0.2331, allocations: 0.8412 MB / 1.312 GB, free: 1.047 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 0.0009943/0.2341, allocations: 0.8027 MB / 1.312 GB, free: 248 kB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.007037/0.2411, allocations: 4.67 MB / 1.317 GB, free: 11.56 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2411, allocations: 0 / 1.317 GB, free: 11.56 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2411, allocations: 0 / 1.317 GB, free: 11.56 MB / 1.182 GB Notification: Performance of Transformations before backend: time 4.554e-05/0.2411, allocations: 0 / 1.317 GB, free: 11.56 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.003738/0.2449, allocations: 2.917 MB / 1.32 GB, free: 8.582 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2449, allocations: 8.625 kB / 1.32 GB, free: 8.574 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.2478, allocations: 0.9154 MB / 1.321 GB, free: 7.656 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.2511, allocations: 2.173 MB / 1.323 GB, free: 5.395 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.2511, allocations: 98.3 kB / 1.323 GB, free: 5.297 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.2513, allocations: 124 kB / 1.323 GB, free: 5.176 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.2532, allocations: 1.622 MB / 1.325 GB, free: 3.441 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.2533, allocations: 11.98 kB / 1.325 GB, free: 3.43 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.2534, allocations: 44 kB / 1.325 GB, free: 3.387 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.2534, allocations: 42.19 kB / 1.325 GB, free: 3.344 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.2551, allocations: 1.23 MB / 1.326 GB, free: 2.105 MB / 1.182 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.00552/0.2606, allocations: 4.799 MB / 1.331 GB, free: 13.17 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.2621, allocations: 0.9113 MB / 1.332 GB, free: 12.25 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.2628, allocations: 467.2 kB / 1.332 GB, free: 11.79 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.2629, allocations: 28.64 kB / 1.332 GB, free: 11.77 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.263, allocations: 39.22 kB / 1.332 GB, free: 11.72 MB / 1.198 GB Notification: Performance of pre-optimization done (n=68): time 3.767e-06/0.263, allocations: 3.938 kB / 1.332 GB, free: 11.71 MB / 1.198 GB Notification: Performance of matching and sorting (n=68): time 0.002322/0.2653, allocations: 1.414 MB / 1.333 GB, free: 10.29 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.2654, allocations: 85.77 kB / 1.334 GB, free: 10.19 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.2671, allocations: 1.705 MB / 1.335 GB, free: 8.445 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 9.446e-05/0.2672, allocations: 41.7 kB / 1.335 GB, free: 8.398 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.2677, allocations: 0.9498 MB / 1.336 GB, free: 7.441 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.2679, allocations: 245.9 kB / 1.336 GB, free: 7.199 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.2681, allocations: 206.5 kB / 1.337 GB, free: 6.992 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.2682, allocations: 345.9 kB / 1.337 GB, free: 6.648 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/0.2688, allocations: 456.5 kB / 1.337 GB, free: 6.199 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008429/0.2697, allocations: 0.9904 MB / 1.338 GB, free: 5.016 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.2711, allocations: 1.173 MB / 1.339 GB, free: 3.723 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2711, allocations: 4 kB / 1.339 GB, free: 3.719 MB / 1.198 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001925/0.273, allocations: 1.382 MB / 1.341 GB, free: 2.328 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.273, allocations: 8 kB / 1.341 GB, free: 2.32 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.273, allocations: 8 kB / 1.341 GB, free: 2.312 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.2731, allocations: 16 kB / 1.341 GB, free: 2.297 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009177/0.274, allocations: 283.9 kB / 1.341 GB, free: 2.02 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003417/0.2743, allocations: 0.6328 MB / 1.342 GB, free: 1.363 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/0.2752, allocations: 155.9 kB / 1.342 GB, free: 1.211 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.2753, allocations: 67.97 kB / 1.342 GB, free: 1.145 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001177/0.2764, allocations: 0.8298 MB / 1.343 GB, free: 316 kB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007532/0.2772, allocations: 0.9553 MB / 1.344 GB, free: 15.16 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001218/0.2784, allocations: 1.099 MB / 1.345 GB, free: 13.94 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.008e-06/0.2784, allocations: 0 / 1.345 GB, free: 13.94 MB / 1.214 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.001741/0.2801, allocations: 1.3 MB / 1.346 GB, free: 12.63 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2802, allocations: 8 kB / 1.346 GB, free: 12.62 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2802, allocations: 8 kB / 1.346 GB, free: 12.61 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2802, allocations: 19.94 kB / 1.346 GB, free: 12.59 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.2808, allocations: 288 kB / 1.346 GB, free: 12.31 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2808, allocations: 19.94 kB / 1.346 GB, free: 12.29 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008209/0.2817, allocations: 135.5 kB / 1.346 GB, free: 12.16 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.2817, allocations: 55.97 kB / 1.347 GB, free: 12.11 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 (con.con.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 111 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002682/0.282, allocations: 252.4 kB / 1.347 GB, free: 11.85 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.2822, allocations: 194.7 kB / 1.347 GB, free: 11.66 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.2841, allocations: 1.125 MB / 1.348 GB, free: 10.52 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.2841, allocations: 15.98 kB / 1.348 GB, free: 10.5 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2841, allocations: 4 kB / 1.348 GB, free: 10.5 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.2852, allocations: 0.942 MB / 1.349 GB, free: 9.527 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.2884, allocations: 2.301 MB / 1.351 GB, free: 7.168 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2884, allocations: 4.172 kB / 1.351 GB, free: 7.164 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.2889, allocations: 199.9 kB / 1.351 GB, free: 6.969 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000152/0.2891, allocations: 32.73 kB / 1.351 GB, free: 6.934 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.2891, allocations: 23.97 kB / 1.351 GB, free: 6.91 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002353/0.2893, allocations: 0.5484 MB / 1.352 GB, free: 6.336 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2893, allocations: 4.031 kB / 1.352 GB, free: 6.332 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.2915, allocations: 1.662 MB / 1.354 GB, free: 4.629 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/0.2919, allocations: 274.5 kB / 1.354 GB, free: 4.359 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.292, allocations: 16 kB / 1.354 GB, free: 4.344 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.2926, allocations: 80.47 kB / 1.354 GB, free: 4.266 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.2926, allocations: 44.56 kB / 1.354 GB, free: 4.223 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.2927, allocations: 35.98 kB / 1.354 GB, free: 4.188 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.00129/0.294, allocations: 1.17 MB / 1.355 GB, free: 2.996 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.51e-07/0.294, allocations: 0 / 1.355 GB, free: 2.996 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.001633/0.2956, allocations: 0.908 MB / 1.356 GB, free: 2.086 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.m,vol.dynBal.U,vol.dynBal.medium.Xi[1],fan.motSpe.y,con.con.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006337/0.2963, allocations: 377.5 kB / 1.356 GB, free: 1.711 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.00249/0.2987, allocations: 1.578 MB / 1.358 GB, free: 140 kB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.2987, allocations: 3.984 kB / 1.358 GB, free: 136 kB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.0006521/0.2994, allocations: 456 kB / 1.358 GB, free: 15.69 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.3015, allocations: 1.001 MB / 1.359 GB, free: 14.71 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.3066, allocations: 3.706 MB / 1.363 GB, free: 10.95 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/0.3072, allocations: 0.9271 MB / 1.364 GB, free: 9.984 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.3077, allocations: 164.4 kB / 1.364 GB, free: 9.824 MB / 1.229 GB Notification: Performance of SimCode: time 2.034e-06/0.3077, allocations: 4 kB / 1.364 GB, free: 9.82 MB / 1.229 GB Notification: Performance of Templates: time 0.04056/0.3483, allocations: 42.74 MB / 1.406 GB, free: 15.36 MB / 1.276 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan.sim & ./Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan > Buildings_latest_Buildings.Fluid.DataCenters.Racks.BaseClasses.Validation.ControlledFan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.65137379663065]