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.001475/0.001475, 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.001658/0.001658, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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.488/1.488, allocations: 177.1 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.9517/0.9517, 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.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.784e-06/1.784e-06, allocations: 0 / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.363e-05, allocations: 2.312 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003786/0.00381, allocations: 2.794 MB / 483.6 MB, free: 10 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.006803, allocations: 1.759 MB / 485.4 MB, free: 8.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.007379, allocations: 18.88 kB / 485.4 MB, free: 8.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.007779, allocations: 171.3 kB / 485.6 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.00832, allocations: 147.8 kB / 485.7 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.008885, allocations: 360.8 kB / 486.1 MB, free: 8.203 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009658/0.00985, allocations: 1.095 MB / 487.2 MB, free: 7.629 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006127/0.01046, allocations: 428.1 kB / 487.6 MB, free: 7.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005674/0.01103, allocations: 0.6005 MB / 488.2 MB, free: 7.027 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.01133, allocations: 332.2 kB / 488.5 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.01149, allocations: 119.6 kB / 488.6 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.01163, allocations: 118.8 kB / 488.8 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.01176, allocations: 252.8 kB / 489 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.01199, allocations: 319.7 kB / 489.3 MB, free: 6.504 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.01306, allocations: 1.358 MB / 490.7 MB, free: 5.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.01306, allocations: 5.312 kB / 490.7 MB, free: 5.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01307, allocations: 0.8438 kB / 490.7 MB, free: 5.934 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.01308, allocations: 0 / 490.7 MB, free: 5.934 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.002773/0.01586, allocations: 1.888 MB / 492.6 MB, free: 4.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.0159, allocations: 9.562 kB / 492.6 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.01619, allocations: 188.7 kB / 492.8 MB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/0.01699, allocations: 0.5117 MB / 493.3 MB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/0.01705, allocations: 71.78 kB / 493.3 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.01719, allocations: 104.4 kB / 493.4 MB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.01867, allocations: 0.9782 MB / 494.4 MB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.01869, allocations: 8.109 kB / 494.4 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-05/0.01877, allocations: 38.09 kB / 494.5 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.01879, allocations: 23.53 kB / 494.5 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.02, allocations: 0.6194 MB / 495.1 MB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.02387, allocations: 2.375 MB / 497.5 MB, free: 18.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.02524, allocations: 0.6744 MB / 498.2 MB, free: 17.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/0.02589, allocations: 366.1 kB / 498.5 MB, free: 17.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.02594, allocations: 20.06 kB / 498.5 MB, free: 17.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000686/0.02662, allocations: 352.4 kB / 498.9 MB, free: 17.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 1.964e-06/0.02662, allocations: 3.938 kB / 498.9 MB, free: 17.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.001752/0.02838, allocations: 0.8321 MB / 499.7 MB, free: 17.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.02844, allocations: 165.2 kB / 499.9 MB, free: 17.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007297/0.02917, allocations: 495.8 kB / 0.4886 GB, free: 16.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.02922, allocations: 39.11 kB / 0.4887 GB, free: 16.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.02951, allocations: 419.3 kB / 0.4891 GB, free: 16.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.02967, allocations: 255.1 kB / 0.4893 GB, free: 16.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.02987, allocations: 132.4 kB / 0.4894 GB, free: 16.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002478/0.03012, allocations: 379 kB / 0.4898 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/0.03065, allocations: 243.5 kB / 0.49 GB, free: 15.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/0.03139, allocations: 0.5636 MB / 0.4906 GB, free: 15.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.03258, allocations: 0.5441 MB / 0.4911 GB, free: 15.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.03258, allocations: 0 / 0.4911 GB, free: 15.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001563/0.03415, allocations: 0.7281 MB / 0.4918 GB, free: 14.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.03416, allocations: 8.25 kB / 0.4918 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.03417, allocations: 1.125 kB / 0.4918 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.03419, allocations: 4.875 kB / 0.4918 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.0348, allocations: 157.5 kB / 0.492 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.03481, allocations: 3.906 kB / 0.492 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.03525, allocations: 88.72 kB / 0.4921 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.0353, allocations: 30.28 kB / 0.4921 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000634/0.03594, allocations: 350 kB / 0.4924 GB, free: 14.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006401/0.03658, allocations: 0.5049 MB / 0.4929 GB, free: 14.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000776/0.03735, allocations: 463.7 kB / 0.4934 GB, free: 13.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.399e-06/0.03736, allocations: 9.125 kB / 0.4934 GB, free: 13.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001154/0.03851, allocations: 0.6369 MB / 0.494 GB, free: 13.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.03852, allocations: 5.328 kB / 0.494 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.03853, allocations: 0 / 0.494 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.505e-06/0.03854, allocations: 5.25 kB / 0.494 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.03906, allocations: 137.7 kB / 0.4942 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.03907, allocations: 5.312 kB / 0.4942 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.03946, allocations: 79.91 kB / 0.4942 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.0395, allocations: 24 kB / 0.4943 GB, free: 13.11 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.0002691/0.03977, allocations: 225.4 kB / 0.4945 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.03991, allocations: 92.14 kB / 0.4946 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.04131, allocations: 0.6322 MB / 0.4952 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.04132, allocations: 8 kB / 0.4952 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.04132, allocations: 1.312 kB / 0.4952 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.04133, allocations: 3.75 kB / 0.4952 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.04416, allocations: 1.448 MB / 0.4966 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.04417, allocations: 0 / 0.4966 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.04503, allocations: 144.2 kB / 0.4967 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.04504, allocations: 4 kB / 0.4967 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.04509, allocations: 13.36 kB / 0.4968 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.04509, allocations: 8.562 kB / 0.4968 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.0451, allocations: 7.547 kB / 0.4968 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.04717, allocations: 1.078 MB / 0.4978 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.04731, allocations: 87.45 kB / 0.4979 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.04739, allocations: 21.83 kB / 0.4979 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.04777, allocations: 44.39 kB / 0.498 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.04788, allocations: 46.59 kB / 0.498 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.04793, allocations: 23.89 kB / 0.498 GB, free: 9.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005555/0.04848, allocations: 344.8 kB / 0.4984 GB, free: 9.297 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04848, allocations: 0.9375 kB / 0.4984 GB, free: 9.297 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001005/0.04949, allocations: 339.5 kB / 0.4987 GB, free: 8.965 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.0002009/0.04969, allocations: 125.4 kB / 0.4988 GB, free: 8.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.05163, allocations: 0.8236 MB / 0.4996 GB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.05163, allocations: 0 / 0.4996 GB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.05223, allocations: 302.6 kB / 0.4999 GB, free: 7.844 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008766/0.05311, allocations: 158.2 kB / 0.5001 GB, free: 7.727 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.05604, allocations: 1.521 MB / 0.5015 GB, free: 6.254 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.05653, allocations: 387.1 kB / 0.5019 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003946/0.05692, allocations: 76.59 kB / 0.502 GB, free: 5.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.05711, allocations: 60.86 kB / 0.502 GB, free: 5.855 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.05712, allocations: 1.531 kB / 0.502 GB, free: 5.855 MB / 426.7 MB Notification: Performance of Templates: time 0.01869/0.07581, allocations: 7.521 MB / 0.5094 GB, free: 15.13 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8511616459582]