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.001513/0.001513, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.00151/0.00151, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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.9414/0.9414, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.623/0.623, allocations: 114.9 MB / 375.7 MB, free: 7.66 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 2.004e-06/2.004e-06, allocations: 1.109 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.702e-05, allocations: 9.406 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.00205/0.002067, allocations: 1.997 MB / 483.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.003846, allocations: 1.739 MB / 485.3 MB, free: 9.359 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.004128, allocations: 11.78 kB / 485.3 MB, free: 9.355 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.004402, allocations: 87.2 kB / 485.4 MB, free: 9.289 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.004781, allocations: 110.6 kB / 485.5 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.005449, allocations: 411.4 kB / 485.9 MB, free: 8.977 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.006014, allocations: 0.7999 MB / 486.7 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.00634, allocations: 242.4 kB / 487 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.006713, allocations: 451.4 kB / 487.4 MB, free: 8.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.006965, allocations: 241.9 kB / 487.6 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.007072, allocations: 86.03 kB / 487.7 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.007215, allocations: 100.7 kB / 487.8 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.007306, allocations: 161.5 kB / 488 MB, free: 7.969 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.007457, allocations: 229 kB / 488.2 MB, free: 7.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.007939, allocations: 0.5491 MB / 488.8 MB, free: 7.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007941, allocations: 0.9375 kB / 488.8 MB, free: 7.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007943, allocations: 1.312 kB / 488.8 MB, free: 7.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.007951, allocations: 0 / 488.8 MB, free: 7.512 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.00123/0.009181, allocations: 1.208 MB / 490 MB, free: 6.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.009216, allocations: 11.12 kB / 490 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.009365, allocations: 116.2 kB / 490.1 MB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.009776, allocations: 377.7 kB / 490.5 MB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.009818, allocations: 44.31 kB / 490.5 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-05/0.009905, allocations: 70.25 kB / 490.6 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.01041, allocations: 467.9 kB / 491 MB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.01042, allocations: 0.6875 kB / 491 MB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.01045, allocations: 23.25 kB / 491 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.01046, allocations: 12.62 kB / 491.1 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.01076, allocations: 198.8 kB / 491.3 MB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.01241, allocations: 1.455 MB / 492.7 MB, free: 21.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.01281, allocations: 310.3 kB / 493 MB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.01298, allocations: 144.1 kB / 493.2 MB, free: 20.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.01301, allocations: 15.44 kB / 493.2 MB, free: 20.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.01324, allocations: 201.1 kB / 493.4 MB, free: 20.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.01324, allocations: 0 / 493.4 MB, free: 20.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0005992/0.01384, allocations: 412.7 kB / 493.8 MB, free: 20.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.01388, allocations: 114.8 kB / 493.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.01412, allocations: 376.2 kB / 494.2 MB, free: 20.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.01416, allocations: 40.2 kB / 494.3 MB, free: 20.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01428, allocations: 325.9 kB / 494.6 MB, free: 20 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.01435, allocations: 179.1 kB / 494.8 MB, free: 19.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.01447, allocations: 125.2 kB / 494.9 MB, free: 19.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.01458, allocations: 0.5218 MB / 495.4 MB, free: 19.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.01481, allocations: 192 kB / 495.6 MB, free: 19.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.01505, allocations: 414.4 kB / 496 MB, free: 18.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.01539, allocations: 355.1 kB / 496.4 MB, free: 18.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01539, allocations: 1.531 kB / 496.4 MB, free: 18.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006361/0.01603, allocations: 0.5903 MB / 497 MB, free: 18.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.01606, allocations: 71.14 kB / 497 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01607, allocations: 2.156 kB / 497 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01608, allocations: 4.375 kB / 497 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.01632, allocations: 95.42 kB / 497.1 MB, free: 18.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.01633, allocations: 6.734 kB / 497.1 MB, free: 18.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.01655, allocations: 82.22 kB / 497.2 MB, free: 18.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.01658, allocations: 25.14 kB / 497.2 MB, free: 18.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002656/0.01685, allocations: 315.4 kB / 497.5 MB, free: 17.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002469/0.0171, allocations: 410 kB / 497.9 MB, free: 17.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003423/0.01744, allocations: 347.1 kB / 498.3 MB, free: 17.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.01744, allocations: 3.984 kB / 498.3 MB, free: 17.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0006764/0.01812, allocations: 0.5901 MB / 498.9 MB, free: 17.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.01815, allocations: 74.12 kB / 498.9 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.01815, allocations: 3.219 kB / 499 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.01816, allocations: 4.156 kB / 499 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.01834, allocations: 80.8 kB / 499 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.01835, allocations: 4.188 kB / 499 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.01855, allocations: 80.53 kB / 499.1 MB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.01858, allocations: 30.69 kB / 499.1 MB, free: 17.01 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.0001377/0.01872, allocations: 300.1 kB / 499.4 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.01878, allocations: 66.44 kB / 499.5 MB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.0192, allocations: 347.4 kB / 499.8 MB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.01921, allocations: 5.5 kB / 499.9 MB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01921, allocations: 0.5625 kB / 499.9 MB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.01922, allocations: 8.094 kB / 499.9 MB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009711/0.02019, allocations: 0.9562 MB / 0.4891 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.02019, allocations: 1.312 kB / 0.4891 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.02039, allocations: 84.44 kB / 0.4892 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.0204, allocations: 9.344 kB / 0.4892 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.02042, allocations: 16.08 kB / 0.4892 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.02043, allocations: 7.719 kB / 0.4892 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02043, allocations: 2.094 kB / 0.4892 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.02108, allocations: 0.6295 MB / 0.4898 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.02113, allocations: 53.12 kB / 0.4899 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.02117, allocations: 12.78 kB / 0.4899 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.02127, allocations: 21.19 kB / 0.4899 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.02134, allocations: 41.14 kB / 0.4899 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.02137, allocations: 18.25 kB / 0.4899 GB, free: 15.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001921/0.02156, allocations: 257.9 kB / 0.4902 GB, free: 15.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02156, allocations: 1.031 kB / 0.4902 GB, free: 15.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004834/0.02204, allocations: 245.6 kB / 0.4904 GB, free: 15.26 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.000168/0.02221, allocations: 129.3 kB / 0.4906 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008428/0.02305, allocations: 0.8826 MB / 0.4914 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.02306, allocations: 1.156 kB / 0.4914 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.02322, allocations: 150.4 kB / 0.4916 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.02361, allocations: 106 kB / 0.4917 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.02464, allocations: 0.923 MB / 0.4926 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.02475, allocations: 127 kB / 0.4927 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.02488, allocations: 52.47 kB / 0.4927 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.02497, allocations: 39.81 kB / 0.4928 GB, free: 13.88 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02497, allocations: 2.344 kB / 0.4928 GB, free: 13.88 MB / 426.7 MB Notification: Performance of Templates: time 0.01131/0.03628, allocations: 7.747 MB / 0.5003 GB, free: 8.57 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.794662560801953]