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.00196/0.00196, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.002889/0.002889, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.554/1.554, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.93/0.93, allocations: 115 MB / 375.3 MB, free: 7.551 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.355e-06/2.355e-06, allocations: 0.7656 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.61e-05/3.845e-05, allocations: 4.219 kB / 480.9 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.004061/0.004099, allocations: 1.877 MB / 482.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.006879, allocations: 1.703 MB / 484.4 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.007234, allocations: 12.38 kB / 484.4 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.007591, allocations: 94.06 kB / 484.5 MB, free: 9.332 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00053/0.00812, allocations: 107.3 kB / 484.6 MB, free: 9.254 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.009313, allocations: 416.2 kB / 485 MB, free: 9.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009079/0.01022, allocations: 0.7982 MB / 485.8 MB, free: 8.605 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004891/0.01071, allocations: 243.9 kB / 486.1 MB, free: 8.461 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.01129, allocations: 455.8 kB / 486.5 MB, free: 8.223 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.01164, allocations: 245.8 kB / 486.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.01179, allocations: 86.22 kB / 486.9 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.012, allocations: 99.31 kB / 487 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.01215, allocations: 158.6 kB / 487.1 MB, free: 8.004 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.01242, allocations: 233.6 kB / 487.3 MB, free: 7.871 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.0135, allocations: 0.9751 MB / 488.3 MB, free: 7.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.0135, allocations: 0 / 488.3 MB, free: 7.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.0135, allocations: 1.219 kB / 488.3 MB, free: 7.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.01352, allocations: 0 / 488.3 MB, free: 7.473 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.002172/0.01569, allocations: 1.105 MB / 489.4 MB, free: 6.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.01574, allocations: 15.78 kB / 489.4 MB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.01602, allocations: 119.5 kB / 489.5 MB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.0167, allocations: 363.8 kB / 489.9 MB, free: 6.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.01676, allocations: 48.69 kB / 489.9 MB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.01689, allocations: 66.34 kB / 490 MB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.01803, allocations: 0.5715 MB / 490.6 MB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.01805, allocations: 192 / 490.6 MB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.01811, allocations: 25 kB / 490.6 MB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.01813, allocations: 14.94 kB / 490.6 MB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.01909, allocations: 368.8 kB / 491 MB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.02228, allocations: 1.366 MB / 492.4 MB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.02346, allocations: 430.1 kB / 492.8 MB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.02402, allocations: 228.2 kB / 493 MB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.02407, allocations: 8.531 kB / 493 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000671/0.02474, allocations: 271 kB / 493.3 MB, free: 4.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.527e-06/0.02474, allocations: 1.406 kB / 493.3 MB, free: 4.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.001715/0.02646, allocations: 0.5966 MB / 493.9 MB, free: 4.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.89e-05/0.02655, allocations: 113.2 kB / 494 MB, free: 4.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.02714, allocations: 351.2 kB / 494.3 MB, free: 4.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.02722, allocations: 39.42 kB / 494.4 MB, free: 4.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.02746, allocations: 269.5 kB / 494.6 MB, free: 3.918 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.02763, allocations: 181.4 kB / 494.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.02791, allocations: 115.1 kB / 494.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003625/0.02827, allocations: 354.9 kB / 495.3 MB, free: 19.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/0.02893, allocations: 276.1 kB / 495.5 MB, free: 19.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007179/0.02965, allocations: 483.7 kB / 496 MB, free: 18.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.03069, allocations: 490.7 kB / 496.5 MB, free: 18.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.0307, allocations: 1.125 kB / 496.5 MB, free: 18.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001853/0.03255, allocations: 0.7675 MB / 497.2 MB, free: 18.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/0.03265, allocations: 68.5 kB / 497.3 MB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.03266, allocations: 2.375 kB / 497.3 MB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.03269, allocations: 3.656 kB / 497.3 MB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.03328, allocations: 94.36 kB / 497.4 MB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.0333, allocations: 7.719 kB / 497.4 MB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/0.03405, allocations: 103.6 kB / 497.5 MB, free: 18.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.939e-05/0.03414, allocations: 32.94 kB / 497.6 MB, free: 18.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007998/0.03494, allocations: 382.6 kB / 497.9 MB, free: 17.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006625/0.03561, allocations: 444.6 kB / 498.4 MB, free: 17.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000803/0.03641, allocations: 454.7 kB / 498.8 MB, free: 17.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.469e-06/0.03641, allocations: 5.016 kB / 498.8 MB, free: 17.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001523/0.03794, allocations: 0.7156 MB / 499.5 MB, free: 16.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.03801, allocations: 71.83 kB / 499.6 MB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.03802, allocations: 2.062 kB / 499.6 MB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.03803, allocations: 4.656 kB / 499.6 MB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.03849, allocations: 88.62 kB / 499.7 MB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.0385, allocations: 5.656 kB / 499.7 MB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/0.0392, allocations: 98.7 kB / 499.8 MB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.03927, allocations: 30.42 kB / 499.8 MB, free: 16.66 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.000327/0.0396, allocations: 217.4 kB / 0.4883 GB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.03973, allocations: 62.88 kB / 0.4884 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.04091, allocations: 470 kB / 0.4888 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.04092, allocations: 4.438 kB / 0.4888 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.04093, allocations: 1.656 kB / 0.4888 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.04094, allocations: 4.531 kB / 0.4888 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.04331, allocations: 1.054 MB / 0.4899 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.04332, allocations: 0.9375 kB / 0.4899 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.04384, allocations: 88.05 kB / 0.4899 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.04385, allocations: 4.5 kB / 0.4899 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.0439, allocations: 14.56 kB / 0.49 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.04391, allocations: 8.797 kB / 0.49 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.04391, allocations: 5.062 kB / 0.49 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.0455, allocations: 0.7917 MB / 0.4907 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.04561, allocations: 53.34 kB / 0.4908 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.04568, allocations: 10.94 kB / 0.4908 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.04602, allocations: 29.61 kB / 0.4908 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.04613, allocations: 40.08 kB / 0.4909 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.04617, allocations: 18.56 kB / 0.4909 GB, free: 15.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003814/0.04656, allocations: 249 kB / 0.4911 GB, free: 14.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04656, allocations: 1 kB / 0.4911 GB, free: 14.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001109/0.04766, allocations: 246.5 kB / 0.4914 GB, free: 14.89 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.0002636/0.04793, allocations: 117.3 kB / 0.4915 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.05037, allocations: 1.051 MB / 0.4925 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.05038, allocations: 1.875 kB / 0.4925 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.05099, allocations: 198.8 kB / 0.4927 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.052, allocations: 121.6 kB / 0.4928 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.0545, allocations: 0.9759 MB / 0.4938 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.05492, allocations: 263.2 kB / 0.494 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.05523, allocations: 50.34 kB / 0.4941 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.0554, allocations: 41.14 kB / 0.4941 GB, free: 12.7 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.0554, allocations: 0 / 0.4941 GB, free: 12.7 MB / 426.7 MB Notification: Performance of Templates: time 0.01829/0.07369, allocations: 7.744 MB / 0.5017 GB, free: 6.941 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8440127859357744]