Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.0009659/0.0009659, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.0009354/0.0009354, allocations: 169 kB / 24.25 MB, free: 308 kB / 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.026/1.026, allocations: 177.1 MB / 204.6 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6308/0.6308, allocations: 115 MB / 376 MB, free: 7.625 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.878e-06/3.878e-06, allocations: 0 / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.749e-05, allocations: 6.938 kB / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002638/0.002676, allocations: 1.959 MB / 483.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.004656, allocations: 1.737 MB / 485.3 MB, free: 9.324 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.004882, allocations: 12.62 kB / 485.3 MB, free: 9.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.005117, allocations: 88.42 kB / 485.4 MB, free: 9.254 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.005476, allocations: 103.1 kB / 485.5 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.006214, allocations: 415.6 kB / 485.9 MB, free: 8.945 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.006864, allocations: 0.7946 MB / 486.7 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.007216, allocations: 250.9 kB / 486.9 MB, free: 8.391 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.007615, allocations: 450.2 kB / 487.4 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.007869, allocations: 243 kB / 487.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.007974, allocations: 85.72 kB / 487.7 MB, free: 8.055 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.008122, allocations: 103.2 kB / 487.8 MB, free: 8.047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.008213, allocations: 153.2 kB / 487.9 MB, free: 7.941 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.008421, allocations: 235.1 kB / 488.2 MB, free: 7.809 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.008978, allocations: 0.5443 MB / 488.7 MB, free: 7.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.008983, allocations: 0 / 488.7 MB, free: 7.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.008985, allocations: 0 / 488.7 MB, free: 7.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.009, allocations: 1.438 kB / 488.7 MB, free: 7.484 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001609/0.01061, allocations: 1.209 MB / 489.9 MB, free: 6.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.01066, allocations: 9.219 kB / 489.9 MB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.01084, allocations: 120.7 kB / 490.1 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.01133, allocations: 375.2 kB / 490.4 MB, free: 6.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.01139, allocations: 51.56 kB / 490.5 MB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.01148, allocations: 62 kB / 490.5 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.0121, allocations: 473 kB / 491 MB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.01212, allocations: 1.5 kB / 491 MB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.01215, allocations: 22.09 kB / 491 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.01217, allocations: 16.88 kB / 491 MB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.01251, allocations: 189 kB / 491.2 MB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.01423, allocations: 1.466 MB / 492.7 MB, free: 21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.01483, allocations: 306.7 kB / 493 MB, free: 20.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.01504, allocations: 142.7 kB / 493.1 MB, free: 20.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.01507, allocations: 9.406 kB / 493.1 MB, free: 20.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.01538, allocations: 206.5 kB / 493.3 MB, free: 20.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.095e-06/0.01538, allocations: 1.25 kB / 493.3 MB, free: 20.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0007315/0.01611, allocations: 413.8 kB / 493.7 MB, free: 20.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.01616, allocations: 109.8 kB / 493.8 MB, free: 20.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.01651, allocations: 374.7 kB / 494.2 MB, free: 20.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.01658, allocations: 43.94 kB / 494.3 MB, free: 20.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.01675, allocations: 315.8 kB / 494.6 MB, free: 19.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.882e-05/0.01685, allocations: 185 kB / 494.7 MB, free: 19.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.01701, allocations: 122.3 kB / 494.9 MB, free: 19.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.01724, allocations: 0.5226 MB / 495.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.0176, allocations: 190.3 kB / 495.6 MB, free: 19.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.01792, allocations: 414.1 kB / 496 MB, free: 18.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.01833, allocations: 360 kB / 496.3 MB, free: 18.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.01833, allocations: 0 / 496.3 MB, free: 18.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007273/0.01906, allocations: 0.5929 MB / 496.9 MB, free: 18.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.01911, allocations: 71.91 kB / 497 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.01912, allocations: 1.375 kB / 497 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01914, allocations: 4.906 kB / 497 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.01941, allocations: 88.58 kB / 497.1 MB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.01942, allocations: 7.812 kB / 497.1 MB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.01969, allocations: 88.95 kB / 497.2 MB, free: 18.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.01973, allocations: 25.67 kB / 497.2 MB, free: 18.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003316/0.02007, allocations: 315.6 kB / 497.5 MB, free: 17.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002646/0.02033, allocations: 403.3 kB / 497.9 MB, free: 17.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004381/0.02077, allocations: 350 kB / 498.2 MB, free: 17.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.077e-06/0.02077, allocations: 9.609 kB / 498.3 MB, free: 17.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0006946/0.02147, allocations: 0.5854 MB / 498.8 MB, free: 17.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.02151, allocations: 67.86 kB / 498.9 MB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.02151, allocations: 1.094 kB / 498.9 MB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.02152, allocations: 5.062 kB / 498.9 MB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.02174, allocations: 87.83 kB / 499 MB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.02175, allocations: 4.656 kB / 499 MB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.02207, allocations: 80.64 kB / 499.1 MB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.02211, allocations: 24.62 kB / 499.1 MB, free: 16.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0002203/0.02233, allocations: 305.5 kB / 499.4 MB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.663e-05/0.02241, allocations: 67.59 kB / 499.5 MB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/0.02603, allocations: 342.5 kB / 499.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.02603, allocations: 5.688 kB / 499.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.02604, allocations: 0.8438 kB / 499.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.02605, allocations: 3.328 kB / 499.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.02738, allocations: 0.9573 MB / 0.489 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.02739, allocations: 4.406 kB / 0.489 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.02767, allocations: 84.2 kB / 0.4891 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.02768, allocations: 2.969 kB / 0.4891 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.02771, allocations: 13.62 kB / 0.4891 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.02772, allocations: 12.38 kB / 0.4891 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.02772, allocations: 5.094 kB / 0.4892 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/0.02849, allocations: 0.6251 MB / 0.4898 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.02856, allocations: 53.25 kB / 0.4898 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.0286, allocations: 21.59 kB / 0.4898 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.02877, allocations: 24.42 kB / 0.4899 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.02884, allocations: 38.7 kB / 0.4899 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003047/0.03189, allocations: 16.88 kB / 0.4899 GB, free: 15.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002195/0.03211, allocations: 257.4 kB / 0.4902 GB, free: 15.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03211, allocations: 0 / 0.4902 GB, free: 15.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007529/0.03286, allocations: 252.2 kB / 0.4904 GB, free: 15.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001968/0.03306, allocations: 120.3 kB / 0.4905 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.03415, allocations: 0.8858 MB / 0.4914 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.03416, allocations: 1.094 kB / 0.4914 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.03436, allocations: 158.2 kB / 0.4915 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/0.03793, allocations: 102.9 kB / 0.4916 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.0393, allocations: 0.9199 MB / 0.4925 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.03941, allocations: 125.9 kB / 0.4926 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.03962, allocations: 56 kB / 0.4927 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.03972, allocations: 41.14 kB / 0.4927 GB, free: 13.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/0.03973, allocations: 0 / 0.4927 GB, free: 13.86 MB / 426.7 MB Notification: Performance of Templates: time 0.02928/0.069, allocations: 7.752 MB / 0.5003 GB, free: 8.93 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9104919128585607]