Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.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.002551/0.002551, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.003016/0.003016, allocations: 212.9 kB / 23.02 MB, free: 2.949 MB / 13.93 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.7/1.7, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.307/3.307, allocations: 0.5045 GB / 0.8104 GB, free: 2.812 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") translateModel(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00366/0.00366, allocations: 71.89 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9845/0.9882, allocations: 180 MB / 1.353 GB, free: 1.633 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser): time 0.02733/1.016, allocations: 19.89 MB / 1.372 GB, free: 13.67 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01226/1.028, allocations: 7.158 MB / 1.379 GB, free: 6.496 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/1.029, allocations: 31.75 kB / 1.379 GB, free: 6.465 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/1.03, allocations: 325.7 kB / 1.38 GB, free: 6.145 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.002865/1.033, allocations: 0.8435 MB / 1.38 GB, free: 5.297 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/1.035, allocations: 0.8278 MB / 1.381 GB, free: 4.48 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.002425/1.038, allocations: 1.451 MB / 1.383 GB, free: 3.027 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009116/1.039, allocations: 487.7 kB / 1.383 GB, free: 2.535 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/1.04, allocations: 0.7276 MB / 1.384 GB, free: 1.805 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007563/1.041, allocations: 457.8 kB / 1.384 GB, free: 1.355 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/1.041, allocations: 68 kB / 1.384 GB, free: 1.289 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/1.043, allocations: 0.7604 MB / 1.385 GB, free: 0.5273 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/1.043, allocations: 167.3 kB / 1.385 GB, free: 372 kB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0003589/1.044, allocations: 282.5 kB / 1.386 GB, free: 88 kB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/1.046, allocations: 1.269 MB / 1.387 GB, free: 14.81 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.046, allocations: 3.938 kB / 1.387 GB, free: 14.81 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.703e-06/1.046, allocations: 0 / 1.387 GB, free: 14.81 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.046, allocations: 4 kB / 1.387 GB, free: 14.8 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002038/1.048, allocations: 1.04 MB / 1.388 GB, free: 13.72 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.048, allocations: 12.92 kB / 1.388 GB, free: 13.71 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/1.048, allocations: 88.41 kB / 1.388 GB, free: 13.62 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/1.049, allocations: 0.546 MB / 1.388 GB, free: 13.05 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/1.049, allocations: 37.31 kB / 1.388 GB, free: 13.02 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/1.049, allocations: 51.94 kB / 1.389 GB, free: 12.97 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/1.05, allocations: 0.5447 MB / 1.389 GB, free: 12.39 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/1.05, allocations: 7.938 kB / 1.389 GB, free: 12.38 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/1.05, allocations: 16 kB / 1.389 GB, free: 12.36 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/1.05, allocations: 12 kB / 1.389 GB, free: 12.35 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/1.051, allocations: 357.5 kB / 1.389 GB, free: 12 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/1.054, allocations: 1.593 MB / 1.391 GB, free: 10.34 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/1.054, allocations: 316.9 kB / 1.391 GB, free: 10.02 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/1.055, allocations: 182.7 kB / 1.391 GB, free: 9.828 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/1.055, allocations: 44.2 kB / 1.391 GB, free: 9.785 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000547/1.055, allocations: 308 kB / 1.392 GB, free: 9.445 MB / 1.073 GB Notification: Performance of pre-optimization done (n=32): time 2.756e-06/1.055, allocations: 0 / 1.392 GB, free: 9.445 MB / 1.073 GB Notification: Performance of matching and sorting (n=32): time 0.001321/1.057, allocations: 0.6107 MB / 1.392 GB, free: 8.812 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/1.057, allocations: 191.9 kB / 1.393 GB, free: 8.582 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/1.058, allocations: 0.5107 MB / 1.393 GB, free: 8.059 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/1.058, allocations: 33.7 kB / 1.393 GB, free: 8.02 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/1.058, allocations: 328.3 kB / 1.393 GB, free: 7.695 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/1.058, allocations: 107.1 kB / 1.394 GB, free: 7.59 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.058, allocations: 89.62 kB / 1.394 GB, free: 7.496 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002125/1.058, allocations: 362.8 kB / 1.394 GB, free: 7.133 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/1.059, allocations: 182.9 kB / 1.394 GB, free: 6.945 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/1.059, allocations: 460.3 kB / 1.395 GB, free: 6.406 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/1.06, allocations: 456 kB / 1.395 GB, free: 5.906 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.06, allocations: 0 / 1.395 GB, free: 5.906 MB / 1.073 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00106/1.061, allocations: 0.5746 MB / 1.396 GB, free: 5.312 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 6.245e-05/1.061, allocations: 45.75 kB / 1.396 GB, free: 5.262 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.061, allocations: 4 kB / 1.396 GB, free: 5.258 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.061, allocations: 4.469 kB / 1.396 GB, free: 5.254 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/1.062, allocations: 91.88 kB / 1.396 GB, free: 5.164 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005255/1.062, allocations: 0.6054 MB / 1.396 GB, free: 4.535 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/1.063, allocations: 55.7 kB / 1.396 GB, free: 4.48 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/1.063, allocations: 28.08 kB / 1.396 GB, free: 4.453 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005383/1.063, allocations: 326.1 kB / 1.397 GB, free: 4.125 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000554/1.064, allocations: 444.2 kB / 1.397 GB, free: 3.602 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007335/1.065, allocations: 439.1 kB / 1.398 GB, free: 3.117 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/1.065, allocations: 4 kB / 1.398 GB, free: 3.113 MB / 1.073 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001015/1.066, allocations: 0.5675 MB / 1.398 GB, free: 2.527 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/1.066, allocations: 37.69 kB / 1.398 GB, free: 2.484 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/1.066, allocations: 4 kB / 1.398 GB, free: 2.48 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/1.066, allocations: 8 kB / 1.398 GB, free: 2.473 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/1.066, allocations: 79.89 kB / 1.398 GB, free: 2.395 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/1.066, allocations: 11.94 kB / 1.398 GB, free: 2.383 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/1.067, allocations: 56.09 kB / 1.398 GB, free: 2.328 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/1.067, allocations: 15.98 kB / 1.398 GB, free: 2.312 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (mPre_flow.nextEventScaled,mPre_flow.nextEvent,$PRE.mPre_flow.nextEvent,mPre_flow.last,mPre_flow.b,mPre_flow.a,$whenCondition1,ideUse.conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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.0002812/1.067, allocations: 249.8 kB / 1.399 GB, free: 2.055 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/1.067, allocations: 59.62 kB / 1.399 GB, free: 1.996 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/1.068, allocations: 0.5852 MB / 1.399 GB, free: 1.387 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.068, allocations: 7.984 kB / 1.399 GB, free: 1.379 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.068, allocations: 4.062 kB / 1.399 GB, free: 1.375 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/1.068, allocations: 8 kB / 1.399 GB, free: 1.367 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/1.069, allocations: 0.7698 MB / 1.4 GB, free: 0.5469 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.069, allocations: 4 kB / 1.4 GB, free: 0.543 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/1.07, allocations: 55.91 kB / 1.4 GB, free: 500 kB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.07, allocations: 4 kB / 1.4 GB, free: 496 kB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/1.07, allocations: 19.92 kB / 1.4 GB, free: 476 kB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004616/1.07, allocations: 0.5899 MB / 1.401 GB, free: 15.85 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.07, allocations: 4 kB / 1.401 GB, free: 15.85 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/1.072, allocations: 0.9337 MB / 1.401 GB, free: 14.86 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/1.072, allocations: 91.7 kB / 1.402 GB, free: 14.77 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/1.072, allocations: 8 kB / 1.402 GB, free: 14.77 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/1.072, allocations: 19.97 kB / 1.402 GB, free: 14.75 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/1.072, allocations: 31.89 kB / 1.402 GB, free: 14.71 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/1.072, allocations: 8 kB / 1.402 GB, free: 14.71 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.000527/1.073, allocations: 382.8 kB / 1.402 GB, free: 14.34 MB / 1.089 GB Notification: Performance of sort global known variables: time 1e-07/1.073, allocations: 4 kB / 1.402 GB, free: 14.33 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001125/1.074, allocations: 319.2 kB / 1.402 GB, free: 14.02 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (ideUse.val.actPos.y,ideUse.conPI.I.y) * Number of discrete variables: 6 ($whenCondition1,mPre_flow.a,mPre_flow.b,mPre_flow.last,mPre_flow.nextEvent,mPre_flow.nextEventScaled) * Number of discrete states: 6 (mPre_flow.nextEvent,mPre_flow.last,mPre_flow.nextEventScaled,mPre_flow.b,mPre_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0005968/1.075, allocations: 259.8 kB / 1.403 GB, free: 13.75 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.001711/1.076, allocations: 0.784 MB / 1.403 GB, free: 12.93 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.076, allocations: 0 / 1.403 GB, free: 12.93 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/1.077, allocations: 265.2 kB / 1.404 GB, free: 12.65 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.078, allocations: 190.9 kB / 1.404 GB, free: 12.47 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/1.08, allocations: 1.149 MB / 1.405 GB, free: 11.27 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.081, allocations: 296.8 kB / 1.405 GB, free: 10.95 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0004109/1.081, allocations: 107.4 kB / 1.405 GB, free: 10.85 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.081, allocations: 47.42 kB / 1.405 GB, free: 10.8 MB / 1.089 GB Notification: Performance of SimCode: time 1.342e-06/1.081, allocations: 0 / 1.405 GB, free: 10.8 MB / 1.089 GB Notification: Performance of Templates: time 0.02315/1.104, allocations: 11.36 MB / 1.416 GB, free: 15.65 MB / 1.104 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.makefile [Timeout 300] (rm -f Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe >> ../files/Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.sim & ./Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.616013709455729]