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.001148/0.001148, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001703/0.001703, allocations: 170.5 kB / 24.84 MB, free: 9.254 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 0.9981/0.9981, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.6206/0.6206, allocations: 115 MB / 376.8 MB, free: 7.48 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 1.863e-06/1.863e-06, allocations: 0.9844 kB / 482.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.529e-05, allocations: 2.312 kB / 482.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002693/0.002718, allocations: 1.923 MB / 484.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.004701, allocations: 1.732 MB / 486.5 MB, free: 9.199 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.00492, allocations: 12.97 kB / 486.5 MB, free: 9.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.005134, allocations: 88.36 kB / 486.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.005438, allocations: 107.1 kB / 486.7 MB, free: 9.051 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.00606, allocations: 417.8 kB / 487.1 MB, free: 8.812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.006702, allocations: 0.7997 MB / 487.9 MB, free: 8.402 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.007043, allocations: 247 kB / 488.1 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/0.007418, allocations: 448.4 kB / 488.6 MB, free: 8.027 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.007669, allocations: 241 kB / 488.8 MB, free: 7.926 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.007774, allocations: 86.03 kB / 488.9 MB, free: 7.926 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.007914, allocations: 103.1 kB / 489 MB, free: 7.918 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.627e-05/0.008, allocations: 156.5 kB / 489.1 MB, free: 7.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.008165, allocations: 232.9 kB / 489.4 MB, free: 7.676 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.008662, allocations: 0.5467 MB / 489.9 MB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.008665, allocations: 0 / 489.9 MB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008666, allocations: 1.031 kB / 489.9 MB, free: 7.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.008673, allocations: 1.219 kB / 489.9 MB, free: 7.352 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.001289/0.009962, allocations: 1.232 MB / 491.2 MB, free: 6.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01, allocations: 8.594 kB / 491.2 MB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.01016, allocations: 123.6 kB / 491.3 MB, free: 6.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.01058, allocations: 367.1 kB / 491.6 MB, free: 6.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.01063, allocations: 43.22 kB / 491.7 MB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.01072, allocations: 70.14 kB / 491.8 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.01122, allocations: 437.8 kB / 492.2 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.01124, allocations: 192 / 492.2 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.01127, allocations: 22.62 kB / 492.2 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.01129, allocations: 12.06 kB / 492.2 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.01152, allocations: 155.8 kB / 492.4 MB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.0132, allocations: 1.4 MB / 493.8 MB, free: 20.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.01357, allocations: 279.8 kB / 494 MB, free: 20.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.01372, allocations: 121.7 kB / 494.2 MB, free: 20.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.01375, allocations: 13.25 kB / 494.2 MB, free: 20.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.01398, allocations: 191.4 kB / 494.4 MB, free: 20.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.01398, allocations: 0 / 494.4 MB, free: 20.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0005206/0.0145, allocations: 369.3 kB / 494.7 MB, free: 20.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.01454, allocations: 110.5 kB / 494.8 MB, free: 20.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.01475, allocations: 366.3 kB / 495.2 MB, free: 20.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.01478, allocations: 41.7 kB / 495.2 MB, free: 20.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.0149, allocations: 315.6 kB / 495.5 MB, free: 19.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.01498, allocations: 182.2 kB / 495.7 MB, free: 19.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.01511, allocations: 131.3 kB / 495.8 MB, free: 19.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.01524, allocations: 0.5217 MB / 496.4 MB, free: 19.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.01545, allocations: 171.2 kB / 496.5 MB, free: 19.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.01565, allocations: 383.4 kB / 496.9 MB, free: 18.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.01595, allocations: 325.5 kB / 497.2 MB, free: 18.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01595, allocations: 0 / 497.2 MB, free: 18.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005749/0.01652, allocations: 0.5441 MB / 497.8 MB, free: 18.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.01658, allocations: 67.69 kB / 497.8 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.01659, allocations: 5.406 kB / 497.8 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.0166, allocations: 6.781 kB / 497.8 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.01685, allocations: 95.53 kB / 497.9 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01686, allocations: 4.844 kB / 497.9 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.01711, allocations: 84.98 kB / 498 MB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.01716, allocations: 30.3 kB / 498.1 MB, free: 18.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002548/0.01741, allocations: 290 kB / 498.3 MB, free: 17.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002288/0.01764, allocations: 383.4 kB / 498.7 MB, free: 17.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002688/0.01791, allocations: 318.7 kB / 499 MB, free: 17.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-06/0.01791, allocations: 3.594 kB / 499 MB, free: 17.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0005598/0.01847, allocations: 0.5316 MB / 499.6 MB, free: 17.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.01851, allocations: 71.42 kB / 499.6 MB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.01851, allocations: 2.406 kB / 499.6 MB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.159e-06/0.01852, allocations: 8.844 kB / 499.6 MB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.01871, allocations: 91.59 kB / 499.7 MB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.01871, allocations: 7.172 kB / 499.7 MB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.01892, allocations: 76.69 kB / 499.8 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.01895, allocations: 22.7 kB / 499.8 MB, free: 17.06 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.0001776/0.01913, allocations: 304.2 kB / 0.4884 GB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.0192, allocations: 67.5 kB / 0.4885 GB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.0196, allocations: 307.2 kB / 0.4888 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.01961, allocations: 5.375 kB / 0.4888 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01961, allocations: 2.906 kB / 0.4888 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01961, allocations: 3.281 kB / 0.4888 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/0.02058, allocations: 0.8739 MB / 0.4896 GB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.02058, allocations: 2.188 kB / 0.4896 GB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.02079, allocations: 81.16 kB / 0.4897 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.0208, allocations: 4.594 kB / 0.4897 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.02082, allocations: 9.531 kB / 0.4897 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.02082, allocations: 13.78 kB / 0.4897 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.02083, allocations: 1.188 kB / 0.4897 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.02139, allocations: 0.5938 MB / 0.4903 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.02144, allocations: 53.97 kB / 0.4904 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.02147, allocations: 12.34 kB / 0.4904 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.02158, allocations: 25.36 kB / 0.4904 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.02163, allocations: 40.41 kB / 0.4904 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.02164, allocations: 13.66 kB / 0.4905 GB, free: 15.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.02178, allocations: 241.8 kB / 0.4907 GB, free: 15.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02178, allocations: 0 / 0.4907 GB, free: 15.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.02227, allocations: 249.1 kB / 0.4909 GB, free: 15.39 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.0001536/0.02243, allocations: 120.6 kB / 0.491 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007092/0.02313, allocations: 0.8198 MB / 0.4918 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02314, allocations: 2.062 kB / 0.4918 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.0233, allocations: 138.7 kB / 0.492 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.0237, allocations: 105.8 kB / 0.4921 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.0248, allocations: 0.9152 MB / 0.493 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.02492, allocations: 124.5 kB / 0.4931 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.0251, allocations: 55.84 kB / 0.4931 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.0254, allocations: 199.2 kB / 0.4933 GB, free: 14 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02541, allocations: 0 / 0.4933 GB, free: 14 MB / 426.7 MB Notification: Performance of Templates: time 0.01206/0.03747, allocations: 8.641 MB / 0.5018 GB, free: 8.07 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.821399657987058]