Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.001845/0.001845, allocations: 88.17 kB / 20.21 MB, free: 4.207 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.001968/0.001968, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.578 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 1.029/1.029, allocations: 115 MB / 375.3 MB, free: 7.59 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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 480.9 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.495e-05, allocations: 3.078 kB / 480.9 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003609/0.003633, allocations: 2.934 MB / 483.8 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.005907, allocations: 1.763 MB / 485.6 MB, free: 8.715 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.006243, allocations: 20.69 kB / 485.6 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.00659, allocations: 166.1 kB / 485.7 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.007012, allocations: 146.2 kB / 485.9 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.007455, allocations: 362.1 kB / 486.2 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007093/0.008164, allocations: 1.094 MB / 487.3 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005637/0.008728, allocations: 429.3 kB / 487.7 MB, free: 7.418 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005096/0.009238, allocations: 0.6017 MB / 488.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.009507, allocations: 326.2 kB / 488.7 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.009653, allocations: 124.5 kB / 488.8 MB, free: 6.934 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.009776, allocations: 119.2 kB / 488.9 MB, free: 6.934 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.009909, allocations: 258.4 kB / 489.2 MB, free: 6.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.01012, allocations: 310.4 kB / 489.5 MB, free: 6.566 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008772/0.011, allocations: 1.362 MB / 490.8 MB, free: 5.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.011, allocations: 5.375 kB / 490.8 MB, free: 5.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.011, allocations: 0 / 490.8 MB, free: 5.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.01102, allocations: 0 / 490.8 MB, free: 5.992 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002677/0.01369, allocations: 2.468 MB / 493.3 MB, free: 4.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.01373, allocations: 9.25 kB / 493.3 MB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.01396, allocations: 187.7 kB / 493.5 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.01462, allocations: 0.5143 MB / 494 MB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.01467, allocations: 69.69 kB / 494.1 MB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.0148, allocations: 104.3 kB / 494.2 MB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.0161, allocations: 1.01 MB / 495.2 MB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.01613, allocations: 5.5 kB / 495.2 MB, free: 3.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/0.01619, allocations: 40.38 kB / 495.2 MB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.01621, allocations: 26.38 kB / 495.3 MB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.01727, allocations: 0.578 MB / 495.8 MB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.02111, allocations: 2.936 MB / 498.8 MB, free: 17.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.02225, allocations: 0.6683 MB / 499.4 MB, free: 17.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.02281, allocations: 370.4 kB / 499.8 MB, free: 17.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/0.02286, allocations: 13.31 kB / 499.8 MB, free: 17.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005829/0.02344, allocations: 350.7 kB / 0.4884 GB, free: 16.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.444e-06/0.02345, allocations: 0 / 0.4884 GB, free: 16.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.001442/0.02489, allocations: 0.7907 MB / 0.4892 GB, free: 16.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.02493, allocations: 164.3 kB / 0.4894 GB, free: 16.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/0.02559, allocations: 0.6256 MB / 0.49 GB, free: 16.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.02564, allocations: 44.58 kB / 0.49 GB, free: 16.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.02592, allocations: 487.5 kB / 0.4905 GB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.02608, allocations: 279.6 kB / 0.4907 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.02628, allocations: 168.6 kB / 0.4909 GB, free: 15.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000343/0.02662, allocations: 0.5929 MB / 0.4915 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.02713, allocations: 228.1 kB / 0.4917 GB, free: 14.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/0.02793, allocations: 0.5972 MB / 0.4923 GB, free: 14.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.02895, allocations: 0.5406 MB / 0.4928 GB, free: 13.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.02896, allocations: 3.75 kB / 0.4928 GB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001359/0.03032, allocations: 0.6929 MB / 0.4935 GB, free: 13.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.03033, allocations: 4 kB / 0.4935 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.03034, allocations: 4.656 kB / 0.4935 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.03036, allocations: 4 kB / 0.4935 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.03098, allocations: 147.7 kB / 0.4936 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.03099, allocations: 4.656 kB / 0.4936 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.03136, allocations: 75.36 kB / 0.4937 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.03141, allocations: 21.92 kB / 0.4937 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006432/0.03205, allocations: 396.6 kB / 0.4941 GB, free: 13.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000684/0.03274, allocations: 0.5566 MB / 0.4947 GB, free: 12.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008233/0.03356, allocations: 494.4 kB / 0.4951 GB, free: 11.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.558e-06/0.03356, allocations: 4.625 kB / 0.4951 GB, free: 11.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001106/0.03467, allocations: 0.6295 MB / 0.4958 GB, free: 11.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.03468, allocations: 4 kB / 0.4958 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.03468, allocations: 1.781 kB / 0.4958 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.03469, allocations: 4 kB / 0.4958 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.03522, allocations: 141.8 kB / 0.4959 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.03523, allocations: 7.625 kB / 0.4959 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.03557, allocations: 65.34 kB / 0.496 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.0356, allocations: 16.56 kB / 0.496 GB, free: 11.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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.0002737/0.03588, allocations: 313.2 kB / 0.4963 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.03602, allocations: 88.28 kB / 0.4964 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.03731, allocations: 0.6173 MB / 0.497 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.03732, allocations: 8.562 kB / 0.497 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.03733, allocations: 0.9688 kB / 0.497 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.03734, allocations: 3.938 kB / 0.497 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.04029, allocations: 1.639 MB / 0.4986 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.04029, allocations: 5.656 kB / 0.4986 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.04089, allocations: 132.6 kB / 0.4987 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.0409, allocations: 4 kB / 0.4987 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.04094, allocations: 18.27 kB / 0.4987 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-05/0.04098, allocations: 4.562 kB / 0.4987 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.04098, allocations: 9.969 kB / 0.4988 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.0429, allocations: 1.113 MB / 0.4998 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.04303, allocations: 84.42 kB / 0.4999 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.04311, allocations: 17.31 kB / 0.4999 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.04342, allocations: 31.7 kB / 0.5 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.04352, allocations: 47.25 kB / 0.5 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.04357, allocations: 26.39 kB / 0.5 GB, free: 7.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005259/0.04409, allocations: 408.9 kB / 0.5004 GB, free: 6.891 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04409, allocations: 0 / 0.5004 GB, free: 6.891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008732/0.04497, allocations: 344.3 kB / 0.5008 GB, free: 6.555 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001858/0.04515, allocations: 128.2 kB / 0.5009 GB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.04705, allocations: 0.8936 MB / 0.5017 GB, free: 5.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.04706, allocations: 0 / 0.5017 GB, free: 5.621 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.04768, allocations: 322 kB / 0.5021 GB, free: 5.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000898/0.04857, allocations: 158.3 kB / 0.5022 GB, free: 5.219 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.05137, allocations: 1.546 MB / 0.5037 GB, free: 3.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.05194, allocations: 387.8 kB / 0.5041 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003493/0.05229, allocations: 79.47 kB / 0.5042 GB, free: 3.355 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.05247, allocations: 57.34 kB / 0.5042 GB, free: 3.305 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.05247, allocations: 1.5 kB / 0.5042 GB, free: 3.305 MB / 426.7 MB Notification: Performance of Templates: time 0.01656/0.06903, allocations: 7.533 MB / 0.5116 GB, free: 12.74 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.956020196084864]