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.001277/0.001277, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001519/0.001519, allocations: 169 kB / 24.14 MB, free: 360 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 0.9599/0.9599, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.6418/0.6418, allocations: 115 MB / 376 MB, free: 7.484 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.874e-06/1.874e-06, allocations: 0 / 428.8 MB, free: 2.727 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.327e-05, allocations: 6.25 kB / 428.8 MB, free: 2.719 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002849/0.002872, allocations: 1.939 MB / 430.7 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.00527, allocations: 1.773 MB / 432.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.005507, allocations: 11.94 kB / 432.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.005728, allocations: 87 kB / 432.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.006043, allocations: 111 kB / 432.7 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.00667, allocations: 411.2 kB / 433.1 MB, free: 14.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005937/0.007264, allocations: 0.7933 MB / 433.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.007576, allocations: 254.2 kB / 434.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.007939, allocations: 459.1 kB / 434.6 MB, free: 12.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.008179, allocations: 235.2 kB / 434.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.026e-05/0.008269, allocations: 88 kB / 434.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.008387, allocations: 107.9 kB / 435 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.008475, allocations: 155.5 kB / 435.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.008628, allocations: 227.4 kB / 435.4 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007457/0.009373, allocations: 0.5448 MB / 435.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.009376, allocations: 0 / 435.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009378, allocations: 0 / 435.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.009382, allocations: 0 / 435.9 MB, free: 11.52 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.0009206/0.0103, allocations: 0.8745 MB / 436.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01034, allocations: 8.031 kB / 436.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.01044, allocations: 96.84 kB / 436.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.01076, allocations: 288.4 kB / 437.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.0108, allocations: 53.61 kB / 437.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.01086, allocations: 68.36 kB / 437.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.01122, allocations: 435.5 kB / 437.7 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01123, allocations: 192 / 437.7 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.01126, allocations: 20.38 kB / 437.8 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.01127, allocations: 16.38 kB / 437.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.01142, allocations: 137 kB / 437.9 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.01255, allocations: 1.011 MB / 438.9 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.01282, allocations: 252.6 kB / 439.2 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.01292, allocations: 110.9 kB / 439.3 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.01294, allocations: 8.5 kB / 439.3 MB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.01311, allocations: 190.1 kB / 439.5 MB, free: 7.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 1.663e-06/0.01312, allocations: 0 / 439.5 MB, free: 7.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.0003262/0.01344, allocations: 282 kB / 439.7 MB, free: 7.555 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.01349, allocations: 111.3 kB / 439.9 MB, free: 7.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.01367, allocations: 303.3 kB / 440.2 MB, free: 7.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.01371, allocations: 49.69 kB / 440.2 MB, free: 7.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.01381, allocations: 230.2 kB / 440.4 MB, free: 6.824 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.569e-05/0.01389, allocations: 182.4 kB / 440.6 MB, free: 6.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.014, allocations: 114.1 kB / 440.7 MB, free: 6.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.0141, allocations: 358.7 kB / 441.1 MB, free: 6.168 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.01426, allocations: 146.4 kB / 441.2 MB, free: 6.012 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.01445, allocations: 345.9 kB / 441.5 MB, free: 5.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.0147, allocations: 298.6 kB / 441.8 MB, free: 5.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.0147, allocations: 0 / 441.8 MB, free: 5.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003716/0.01507, allocations: 449 kB / 442.3 MB, free: 4.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.01511, allocations: 67.39 kB / 442.3 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01512, allocations: 0 / 442.3 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.01513, allocations: 4 kB / 442.3 MB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.01534, allocations: 91.89 kB / 442.4 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01535, allocations: 7.938 kB / 442.4 MB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.01555, allocations: 87.77 kB / 442.5 MB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.01557, allocations: 19.98 kB / 442.6 MB, free: 4.516 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001809/0.01575, allocations: 228.7 kB / 442.8 MB, free: 4.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000178/0.01593, allocations: 342 kB / 443.1 MB, free: 3.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002161/0.01615, allocations: 302.6 kB / 443.4 MB, free: 3.551 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.175e-06/0.01615, allocations: 0 / 443.4 MB, free: 3.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0003577/0.01651, allocations: 437.2 kB / 443.8 MB, free: 3.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.01654, allocations: 75.33 kB / 443.9 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.01655, allocations: 0 / 443.9 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.888e-06/0.01655, allocations: 4 kB / 443.9 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.01671, allocations: 83.84 kB / 444 MB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.01672, allocations: 8.141 kB / 444 MB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.01689, allocations: 79.73 kB / 444.1 MB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.01691, allocations: 19.98 kB / 444.1 MB, free: 2.812 MB / 410.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.0001197/0.01703, allocations: 219.9 kB / 444.3 MB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.01708, allocations: 47.89 kB / 444.4 MB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.01733, allocations: 239.8 kB / 444.6 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.01734, allocations: 12 kB / 444.6 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01734, allocations: 0 / 444.6 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01735, allocations: 3.984 kB / 444.6 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.01804, allocations: 0.6537 MB / 445.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01804, allocations: 192 / 445.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.01823, allocations: 79.91 kB / 445.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.01823, allocations: 4.188 kB / 445.3 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.01825, allocations: 19.97 kB / 445.4 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.01825, allocations: 7.938 kB / 445.4 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01826, allocations: 0 / 445.4 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.01863, allocations: 462.7 kB / 445.8 MB, free: 1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.01867, allocations: 47.64 kB / 445.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.0187, allocations: 12 kB / 445.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.0188, allocations: 19.98 kB / 445.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.01884, allocations: 40.38 kB / 445.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.01886, allocations: 19.98 kB / 446 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.194e-05/0.01895, allocations: 120.7 kB / 446.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01895, allocations: 4 kB / 446.1 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.01933, allocations: 243.3 kB / 446.3 MB, free: 0.5039 MB / 410.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.0001523/0.01949, allocations: 108.2 kB / 446.4 MB, free: 396 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1665/0.186, allocations: 0.7731 MB / 447.2 MB, free: 29.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/0.186, allocations: 4.438 kB / 447.2 MB, free: 29.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.1863, allocations: 129.8 kB / 447.3 MB, free: 29.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.1868, allocations: 104.1 kB / 447.4 MB, free: 29.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.188, allocations: 0.8837 MB / 448.3 MB, free: 29.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.397e-05/0.1881, allocations: 125.8 kB / 448.4 MB, free: 29.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.1883, allocations: 55.08 kB / 448.5 MB, free: 29.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.1886, allocations: 159.8 kB / 448.6 MB, free: 29.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.354e-06/0.1886, allocations: 1.438 kB / 448.6 MB, free: 29.24 MB / 410.7 MB Notification: Performance of Templates: time 0.01159/0.2002, allocations: 8.415 MB / 457.1 MB, free: 27.37 MB / 410.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.6542846923694015]