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.001125/0.001125, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001098/0.001098, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9405/0.9405, allocations: 177.1 MB / 204.2 MB, free: 5.418 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.6622/0.6622, allocations: 114.9 MB / 375.7 MB, free: 7.566 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 2.064e-06/2.064e-06, allocations: 0 / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.285e-05, allocations: 2.312 kB / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.01023/0.01026, allocations: 3.007 MB / 484.6 MB, free: 9.941 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00874/0.019, allocations: 1.786 MB / 486.4 MB, free: 8.598 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006363/0.02536, allocations: 23.94 kB / 486.4 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.02575, allocations: 163.5 kB / 486.6 MB, free: 8.469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.02622, allocations: 150.8 kB / 486.7 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.02671, allocations: 352.8 kB / 487 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.02752, allocations: 1.103 MB / 488.1 MB, free: 7.559 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.02814, allocations: 431.9 kB / 488.6 MB, free: 7.293 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005548/0.03369, allocations: 0.6 MB / 489.2 MB, free: 6.961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.03397, allocations: 324.5 kB / 489.5 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.03411, allocations: 119.4 kB / 489.6 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.03423, allocations: 119.9 kB / 489.7 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.03436, allocations: 258.6 kB / 490 MB, free: 6.629 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.03457, allocations: 316.6 kB / 490.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.03516, allocations: 0.7177 MB / 491 MB, free: 5.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.03516, allocations: 2.859 kB / 491 MB, free: 5.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.03516, allocations: 1.062 kB / 491 MB, free: 5.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.03517, allocations: 0 / 491 MB, free: 5.984 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.003981/0.03915, allocations: 1.984 MB / 493 MB, free: 4.773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.03919, allocations: 11.19 kB / 493 MB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.0394, allocations: 192.3 kB / 493.2 MB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.03999, allocations: 0.5069 MB / 493.7 MB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.04005, allocations: 72 kB / 493.8 MB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.04017, allocations: 108.2 kB / 493.9 MB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.04116, allocations: 0.7801 MB / 494.6 MB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.04117, allocations: 4.516 kB / 494.7 MB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003067/0.04424, allocations: 37.31 kB / 494.7 MB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.04427, allocations: 23.44 kB / 494.7 MB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/0.04487, allocations: 331.8 kB / 495 MB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.04981, allocations: 2.488 MB / 497.5 MB, free: 18.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/0.05073, allocations: 485.1 kB / 498 MB, free: 18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.05111, allocations: 224.8 kB / 498.2 MB, free: 17.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.05117, allocations: 20.81 kB / 498.2 MB, free: 17.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.05157, allocations: 234.8 kB / 498.5 MB, free: 17.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.926e-06/0.05157, allocations: 1.281 kB / 498.5 MB, free: 17.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.0009537/0.05252, allocations: 0.5299 MB / 499 MB, free: 17.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.05257, allocations: 164.5 kB / 499.2 MB, free: 17.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.05306, allocations: 0.4885 MB / 499.6 MB, free: 17.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.0531, allocations: 46.08 kB / 499.7 MB, free: 17.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.05334, allocations: 462.8 kB / 0.4884 GB, free: 16.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.05348, allocations: 267.1 kB / 0.4887 GB, free: 16.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.05366, allocations: 133.4 kB / 0.4888 GB, free: 16.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.05386, allocations: 0.5468 MB / 0.4893 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.05418, allocations: 124.1 kB / 0.4895 GB, free: 15.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.05455, allocations: 468.2 kB / 0.4899 GB, free: 15.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.05507, allocations: 322 kB / 0.4902 GB, free: 15.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.05507, allocations: 2.406 kB / 0.4902 GB, free: 15.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0008578/0.05593, allocations: 0.4952 MB / 0.4907 GB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.05595, allocations: 4.938 kB / 0.4907 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.05595, allocations: 3.031 kB / 0.4907 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.05598, allocations: 3.75 kB / 0.4907 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.05648, allocations: 149.8 kB / 0.4908 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.05649, allocations: 4 kB / 0.4909 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.05677, allocations: 72.05 kB / 0.4909 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.05681, allocations: 24.05 kB / 0.4909 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003886/0.0572, allocations: 242.5 kB / 0.4912 GB, free: 15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004592/0.05766, allocations: 465.7 kB / 0.4916 GB, free: 14.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005787/0.05824, allocations: 311.3 kB / 0.4919 GB, free: 14.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.978e-06/0.05825, allocations: 4.094 kB / 0.4919 GB, free: 14.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0009069/0.05915, allocations: 491 kB / 0.4924 GB, free: 14.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.05917, allocations: 6.203 kB / 0.4924 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.05917, allocations: 0.9688 kB / 0.4924 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.05918, allocations: 5.625 kB / 0.4924 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.05969, allocations: 130.3 kB / 0.4925 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.0597, allocations: 6.375 kB / 0.4925 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.05998, allocations: 68.8 kB / 0.4926 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.06002, allocations: 19.19 kB / 0.4926 GB, free: 14.18 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.0002033/0.06023, allocations: 318.1 kB / 0.4929 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.06035, allocations: 88.48 kB / 0.493 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008757/0.06123, allocations: 452.6 kB / 0.4934 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.06124, allocations: 12.59 kB / 0.4934 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.06124, allocations: 2.594 kB / 0.4934 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.06125, allocations: 3.938 kB / 0.4935 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.06344, allocations: 1.263 MB / 0.4947 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.06344, allocations: 4.609 kB / 0.4947 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/0.06396, allocations: 133.1 kB / 0.4948 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.06397, allocations: 4.906 kB / 0.4948 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/0.06402, allocations: 17.64 kB / 0.4948 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.06402, allocations: 4.797 kB / 0.4948 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.06403, allocations: 5.531 kB / 0.4948 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.0652, allocations: 0.7856 MB / 0.4956 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.0653, allocations: 85.12 kB / 0.4957 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.06538, allocations: 12.75 kB / 0.4957 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.06565, allocations: 34.72 kB / 0.4957 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.06576, allocations: 46.81 kB / 0.4958 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.0658, allocations: 31.72 kB / 0.4958 GB, free: 11.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004025/0.06621, allocations: 327 kB / 0.4961 GB, free: 11.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.06621, allocations: 5.469 kB / 0.4961 GB, free: 11.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008448/0.06705, allocations: 339.4 kB / 0.4965 GB, free: 10.87 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.0001865/0.06724, allocations: 126.4 kB / 0.4966 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.06836, allocations: 0.5948 MB / 0.4972 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.06837, allocations: 0 / 0.4972 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.06869, allocations: 209 kB / 0.4974 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.06945, allocations: 155 kB / 0.4975 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.07161, allocations: 1.424 MB / 0.4989 GB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.07178, allocations: 169.5 kB / 0.4991 GB, free: 8.379 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.07206, allocations: 80.03 kB / 0.4991 GB, free: 8.324 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.07223, allocations: 58.31 kB / 0.4992 GB, free: 8.273 MB / 426.7 MB Notification: Performance of SimCode: time 9.21e-07/0.07223, allocations: 0 / 0.4992 GB, free: 8.273 MB / 426.7 MB Notification: Performance of Templates: time 0.01539/0.08761, allocations: 7.533 MB / 0.5065 GB, free: 2.281 MB / 426.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: 3.906029978301376]