Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001332/0.001332, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.001505/0.001505, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.9576/0.9576, allocations: 177.2 MB / 205.6 MB, free: 5.402 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.853/1.853, allocations: 389.6 MB / 0.6364 GB, free: 12.2 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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.7756 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.096e-05, allocations: 3.719 kB / 0.7756 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002521/0.002542, allocations: 1.988 MB / 0.7776 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.004955, allocations: 1.781 MB / 0.7793 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.00523, allocations: 11.94 kB / 0.7793 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.00547, allocations: 87 kB / 0.7794 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.005804, allocations: 97.94 kB / 0.7795 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.006508, allocations: 415.1 kB / 0.7799 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008239/0.007332, allocations: 0.7932 MB / 0.7806 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.007657, allocations: 258.7 kB / 0.7809 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.008089, allocations: 456.2 kB / 0.7813 GB, free: 56 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.008352, allocations: 239.3 kB / 0.7816 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.571e-05/0.008438, allocations: 89.72 kB / 0.7816 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.008568, allocations: 95.98 kB / 0.7817 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.008653, allocations: 155.4 kB / 0.7819 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.008804, allocations: 235.2 kB / 0.7821 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.009333, allocations: 0.5494 MB / 0.7826 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.009336, allocations: 0 / 0.7826 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.413e-06/0.009337, allocations: 0.8125 kB / 0.7826 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.009344, allocations: 0 / 0.7826 GB, free: 14.71 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001274/0.01062, allocations: 0.866 MB / 0.7835 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.01065, allocations: 12.91 kB / 0.7835 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.01076, allocations: 96.84 kB / 0.7836 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.01111, allocations: 284.4 kB / 0.7839 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.01115, allocations: 45.69 kB / 0.7839 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.01121, allocations: 76.3 kB / 0.784 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.01161, allocations: 443.4 kB / 0.7844 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.01162, allocations: 192 / 0.7844 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.01165, allocations: 25.5 kB / 0.7844 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.01166, allocations: 16.38 kB / 0.7844 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.01181, allocations: 129 kB / 0.7846 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.01309, allocations: 1.007 MB / 0.7856 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.01337, allocations: 247.6 kB / 0.7858 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.01347, allocations: 110.9 kB / 0.7859 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.0135, allocations: 8.5 kB / 0.7859 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.01368, allocations: 187.7 kB / 0.7861 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/0.01368, allocations: 0 / 0.7861 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=53): time 0.0003276/0.01401, allocations: 282 kB / 0.7864 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.01406, allocations: 112.1 kB / 0.7865 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.01424, allocations: 307.3 kB / 0.7868 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.01428, allocations: 42.67 kB / 0.7868 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01438, allocations: 226.2 kB / 0.787 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.349e-05/0.01448, allocations: 186.4 kB / 0.7872 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.01459, allocations: 119 kB / 0.7873 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.01469, allocations: 354.7 kB / 0.7876 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.01486, allocations: 151.3 kB / 0.7878 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.01506, allocations: 349.9 kB / 0.7881 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.01531, allocations: 304.7 kB / 0.7884 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01531, allocations: 4 kB / 0.7884 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003836/0.01569, allocations: 455.3 kB / 0.7888 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.01574, allocations: 68.95 kB / 0.7889 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01574, allocations: 8 kB / 0.7889 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01576, allocations: 4.906 kB / 0.7889 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.01597, allocations: 95.89 kB / 0.789 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01598, allocations: 5.312 kB / 0.789 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.01617, allocations: 76.19 kB / 0.7891 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.0162, allocations: 25.11 kB / 0.7891 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001877/0.01639, allocations: 240.6 kB / 0.7893 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001796/0.01657, allocations: 342 kB / 0.7897 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002239/0.01679, allocations: 304.9 kB / 0.79 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.906e-06/0.0168, allocations: 4.828 kB / 0.79 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0006205/0.01742, allocations: 442.2 kB / 0.7904 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.01745, allocations: 71.33 kB / 0.7905 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.01745, allocations: 5.438 kB / 0.7905 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.01746, allocations: 4 kB / 0.7905 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.01763, allocations: 87.84 kB / 0.7905 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.01763, allocations: 5.438 kB / 0.7906 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.01781, allocations: 83.72 kB / 0.7906 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.01783, allocations: 17.5 kB / 0.7906 GB, free: 6.012 MB / 0.7448 GB 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.0001198/0.01795, allocations: 218.2 kB / 0.7909 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.01799, allocations: 49.5 kB / 0.7909 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.01824, allocations: 247.8 kB / 0.7911 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.01825, allocations: 8 kB / 0.7911 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01825, allocations: 0 / 0.7911 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01826, allocations: 3.094 kB / 0.7912 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006901/0.01895, allocations: 0.6498 MB / 0.7918 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01895, allocations: 3.938 kB / 0.7918 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.01913, allocations: 91.02 kB / 0.7919 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01914, allocations: 4 kB / 0.7919 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.01916, allocations: 12 kB / 0.7919 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.01916, allocations: 8 kB / 0.7919 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01916, allocations: 0 / 0.7919 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.01953, allocations: 459 kB / 0.7923 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.01958, allocations: 47.64 kB / 0.7924 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.01961, allocations: 13.8 kB / 0.7924 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.0197, allocations: 20 kB / 0.7924 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.01975, allocations: 44.3 kB / 0.7925 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01977, allocations: 12 kB / 0.7925 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.488e-05/0.01986, allocations: 131.8 kB / 0.7926 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01986, allocations: 0 / 0.7926 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003971/0.02026, allocations: 247.2 kB / 0.7928 GB, free: 3.699 MB / 0.7448 GB 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.0001461/0.0204, allocations: 104.3 kB / 0.7929 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006122/0.02102, allocations: 0.7894 MB / 0.7937 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.02103, allocations: 4 kB / 0.7937 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.02115, allocations: 128.6 kB / 0.7938 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.02149, allocations: 101.7 kB / 0.7939 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02249, allocations: 0.9218 MB / 0.7948 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.02268, allocations: 259.7 kB / 0.7951 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.02295, allocations: 167.3 kB / 0.7952 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.02295, allocations: 0.625 kB / 0.7952 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of Templates: time 0.007422/0.03037, allocations: 6.476 MB / 0.8016 GB, free: 10.73 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.885640691965818]