Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.0006639/0.0006639, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009548/0.001619, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001461/0.001461, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001649/0.00311, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9922/0.9922, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08989/1.082, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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 1.916/1.916, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4974/2.414, allocations: 127.1 MB / 0.7435 GB, free: 4.547 MB / 0.7136 GB " [Timeout remaining time 178] 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.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.7448 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.098e-05, allocations: 5.578 kB / 0.7448 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.00199/0.002011, allocations: 1.208 MB / 0.746 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.003531, allocations: 1.538 MB / 0.7475 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.465e-05/0.003626, allocations: 0 / 0.7475 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.003668, allocations: 24.33 kB / 0.7475 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.003792, allocations: 68 kB / 0.7476 GB, free: 472 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.004462, allocations: 438.6 kB / 0.748 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.004937, allocations: 0.5157 MB / 0.7485 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.005079, allocations: 79.17 kB / 0.7486 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.005393, allocations: 336.6 kB / 0.7489 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.005602, allocations: 143.6 kB / 0.749 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.342e-05/0.005666, allocations: 52.59 kB / 0.7491 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.005787, allocations: 68.45 kB / 0.7491 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.005831, allocations: 39.88 kB / 0.7492 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.587e-05/0.005927, allocations: 104.6 kB / 0.7493 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.006248, allocations: 316.3 kB / 0.7496 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.00626, allocations: 0 / 0.7496 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.223e-06/0.006261, allocations: 0 / 0.7496 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.006275, allocations: 0 / 0.7496 GB, free: 14.41 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006874/0.006963, allocations: 0.6353 MB / 0.7502 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.006995, allocations: 13.34 kB / 0.7502 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.083e-05/0.007066, allocations: 44.89 kB / 0.7502 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.007302, allocations: 188.8 kB / 0.7504 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.007334, allocations: 34.66 kB / 0.7505 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.007382, allocations: 28.38 kB / 0.7505 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.007524, allocations: 110.9 kB / 0.7506 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.007534, allocations: 4.125 kB / 0.7506 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.007547, allocations: 12.38 kB / 0.7506 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.007555, allocations: 8.125 kB / 0.7506 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.007606, allocations: 28.88 kB / 0.7506 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.008142, allocations: 389.8 kB / 0.751 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.008317, allocations: 78.45 kB / 0.7511 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.00835, allocations: 22.2 kB / 0.7511 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.008358, allocations: 7.922 kB / 0.7511 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.008506, allocations: 148 kB / 0.7513 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.008508, allocations: 0 / 0.7513 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0002148/0.008723, allocations: 147.5 kB / 0.7514 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.008756, allocations: 59.41 kB / 0.7515 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.008885, allocations: 221 kB / 0.7517 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.008921, allocations: 37.7 kB / 0.7517 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.008997, allocations: 140.5 kB / 0.7518 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.009032, allocations: 63.23 kB / 0.7519 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.009132, allocations: 89.86 kB / 0.752 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.00922, allocations: 334.8 kB / 0.7523 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.009371, allocations: 203 kB / 0.7525 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.009557, allocations: 305.9 kB / 0.7528 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.009791, allocations: 332.8 kB / 0.7531 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.009794, allocations: 0.5312 kB / 0.7531 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000414/0.01021, allocations: 0.5402 MB / 0.7536 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.01028, allocations: 134.8 kB / 0.7538 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01029, allocations: 0 / 0.7538 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.0103, allocations: 4.906 kB / 0.7538 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.01037, allocations: 36.02 kB / 0.7538 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.01038, allocations: 5.312 kB / 0.7538 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.01061, allocations: 89.98 kB / 0.7539 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.01064, allocations: 23.97 kB / 0.7539 GB, free: 9.578 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (tunSta.y,$PRE.tunSta.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,$PRE.u.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.01074, allocations: 142.2 kB / 0.754 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.01077, allocations: 28.73 kB / 0.7541 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.0108, allocations: 22.27 kB / 0.7541 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.01081, allocations: 4 kB / 0.7541 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.01081, allocations: 5.656 kB / 0.7541 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01081, allocations: 0 / 0.7541 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.01109, allocations: 318.6 kB / 0.7544 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.0111, allocations: 0 / 0.7544 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-05/0.01117, allocations: 16.5 kB / 0.7544 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.01119, allocations: 27.84 kB / 0.7545 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01119, allocations: 0.6562 kB / 0.7545 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.0112, allocations: 9.531 kB / 0.7545 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.01121, allocations: 4 kB / 0.7545 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01121, allocations: 0 / 0.7545 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.01141, allocations: 245.8 kB / 0.7547 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.01143, allocations: 12.48 kB / 0.7547 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.28e-05/0.01147, allocations: 0 / 0.7547 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01151, allocations: 21.12 kB / 0.7547 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.01152, allocations: 8 kB / 0.7547 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.11e-05/0.01158, allocations: 78.77 kB / 0.7548 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01158, allocations: 1.406 kB / 0.7548 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002299/0.01181, allocations: 79.89 kB / 0.7549 GB, free: 8.539 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gai.Iy.y) * Number of discrete variables: 13 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,tOn.booPul.y,tOff.booPul.y,tunSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.01195, allocations: 103.9 kB / 0.755 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.01235, allocations: 0.5424 MB / 0.7555 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.01236, allocations: 5.125 kB / 0.7555 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.841e-05/0.01243, allocations: 62.12 kB / 0.7556 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.01286, allocations: 0.5121 MB / 0.7561 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.01362, allocations: 391.6 kB / 0.7565 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.01368, allocations: 92.11 kB / 0.7565 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.419e-05/0.01375, allocations: 28.56 kB / 0.7566 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.01395, allocations: 131.3 kB / 0.7567 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of SimCode: time 1.382e-06/0.01396, allocations: 0 / 0.7567 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of Templates: time 0.008299/0.02225, allocations: 5.842 MB / 0.7624 GB, free: 0.9258 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.044531736522913]