Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001079/0.001079, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001312/0.001312, allocations: 169.5 kB / 25.17 MB, free: 8.887 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.9682/0.9682, allocations: 177.1 MB / 205.6 MB, free: 5.355 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.948/1.948, allocations: 389.6 MB / 0.6364 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.7756 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.413e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.00409/0.004114, allocations: 2.933 MB / 0.7785 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.006715, allocations: 1.837 MB / 0.7803 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.007006, allocations: 24.97 kB / 0.7803 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.007372, allocations: 158.2 kB / 0.7804 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.007775, allocations: 149.9 kB / 0.7806 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.008227, allocations: 352.3 kB / 0.7809 GB, free: 476 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009528/0.00918, allocations: 1.108 MB / 0.782 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005605/0.009741, allocations: 450.8 kB / 0.7824 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.01026, allocations: 0.6049 MB / 0.783 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.01053, allocations: 320.2 kB / 0.7833 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.01066, allocations: 120 kB / 0.7834 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.01076, allocations: 116.5 kB / 0.7836 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.01092, allocations: 267 kB / 0.7838 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.01114, allocations: 308.1 kB / 0.7841 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.01174, allocations: 0.7157 MB / 0.7848 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01174, allocations: 1.719 kB / 0.7848 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.01175, allocations: 0 / 0.7848 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.01175, allocations: 0 / 0.7848 GB, free: 12.46 MB / 0.7448 GB 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.001399/0.01315, allocations: 1.185 MB / 0.786 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.01318, allocations: 17.06 kB / 0.786 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.01334, allocations: 148.8 kB / 0.7861 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.01386, allocations: 390 kB / 0.7865 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.01391, allocations: 74.38 kB / 0.7866 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.01402, allocations: 100.3 kB / 0.7867 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.01534, allocations: 0.7345 MB / 0.7874 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.01536, allocations: 192 / 0.7874 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.0154, allocations: 40.38 kB / 0.7874 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.01542, allocations: 24.38 kB / 0.7874 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.01573, allocations: 226.5 kB / 0.7877 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.01804, allocations: 1.804 MB / 0.7894 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.01854, allocations: 405 kB / 0.7898 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.01873, allocations: 179.3 kB / 0.79 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.01876, allocations: 12.66 kB / 0.79 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.019, allocations: 217.6 kB / 0.7902 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 2.475e-06/0.019, allocations: 0 / 0.7902 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.0004785/0.01948, allocations: 369.8 kB / 0.7905 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.01954, allocations: 163.5 kB / 0.7907 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.01985, allocations: 427.2 kB / 0.7911 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.01989, allocations: 46.22 kB / 0.7911 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.02006, allocations: 346.7 kB / 0.7915 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.0202, allocations: 262.2 kB / 0.7917 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.02034, allocations: 134.6 kB / 0.7919 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.02047, allocations: 383.9 kB / 0.7922 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.02061, allocations: 84.81 kB / 0.7923 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.02085, allocations: 394.8 kB / 0.7927 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.02114, allocations: 269.7 kB / 0.7929 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02115, allocations: 0 / 0.7929 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0003914/0.02154, allocations: 331.4 kB / 0.7933 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.02155, allocations: 7.938 kB / 0.7933 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.02156, allocations: 4 kB / 0.7933 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/0.0216, allocations: 7.984 kB / 0.7933 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.02199, allocations: 158.6 kB / 0.7934 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.022, allocations: 4 kB / 0.7934 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.02219, allocations: 71.59 kB / 0.7935 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.02221, allocations: 16 kB / 0.7935 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001782/0.02239, allocations: 158.1 kB / 0.7937 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002228/0.02261, allocations: 400.3 kB / 0.794 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002611/0.02287, allocations: 258.8 kB / 0.7943 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-06/0.02288, allocations: 0 / 0.7943 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0003511/0.02323, allocations: 336.2 kB / 0.7946 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.02324, allocations: 8.719 kB / 0.7946 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.02324, allocations: 0 / 0.7946 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.02325, allocations: 8.672 kB / 0.7946 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.02358, allocations: 135.8 kB / 0.7948 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.02359, allocations: 5.031 kB / 0.7948 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.02376, allocations: 71.59 kB / 0.7948 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.02378, allocations: 25.12 kB / 0.7949 GB, free: 1.723 MB / 0.7448 GB 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.0001103/0.02389, allocations: 212.1 kB / 0.7951 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.02396, allocations: 69.28 kB / 0.7951 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.02435, allocations: 332.5 kB / 0.7954 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.02436, allocations: 8 kB / 0.7954 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.02436, allocations: 1.344 kB / 0.7954 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.02437, allocations: 3.984 kB / 0.7955 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.02542, allocations: 0.8593 MB / 0.7963 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02543, allocations: 4 kB / 0.7963 GB, free: 196 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.02579, allocations: 139.8 kB / 0.7964 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.0258, allocations: 4.656 kB / 0.7964 GB, free: 52 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.02582, allocations: 16 kB / 0.7964 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.02583, allocations: 8.594 kB / 0.7965 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02583, allocations: 0 / 0.7965 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.0264, allocations: 0.5666 MB / 0.797 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.02647, allocations: 71.39 kB / 0.7971 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.02651, allocations: 16 kB / 0.7971 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.02669, allocations: 35.91 kB / 0.7971 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.02675, allocations: 40.58 kB / 0.7972 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.02678, allocations: 27.11 kB / 0.7972 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001631/0.02694, allocations: 192.4 kB / 0.7974 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02694, allocations: 0 / 0.7974 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004876/0.02743, allocations: 338.7 kB / 0.7977 GB, free: 14.73 MB / 0.7605 GB 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.0001228/0.02755, allocations: 106.5 kB / 0.7978 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.02976, allocations: 496.7 kB / 0.7983 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.02977, allocations: 4 kB / 0.7983 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.02996, allocations: 179.3 kB / 0.7984 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.03045, allocations: 157.6 kB / 0.7986 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.03203, allocations: 1.407 MB / 0.8 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.03245, allocations: 392.1 kB / 0.8003 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.03278, allocations: 201.3 kB / 0.8005 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/0.03278, allocations: 0 / 0.8005 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of Templates: time 0.0157/0.04848, allocations: 9.009 MB / 0.8093 GB, free: 2.809 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.783387587405741]