Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.001598/0.001598, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001663/0.001663, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9422/0.9422, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.945/1.945, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.508e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002693/0.002718, allocations: 1.678 MB / 0.7769 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.004786, allocations: 1.322 MB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.004957, allocations: 7.938 kB / 0.7782 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.005157, allocations: 75.19 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.005406, allocations: 71.39 kB / 0.7783 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.005637, allocations: 171.6 kB / 0.7785 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.006019, allocations: 496.9 kB / 0.779 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.006307, allocations: 193.6 kB / 0.7791 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.00657, allocations: 275.4 kB / 0.7794 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.006722, allocations: 143.5 kB / 0.7795 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.00678, allocations: 51.81 kB / 0.7796 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.006825, allocations: 52 kB / 0.7796 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.006901, allocations: 115.5 kB / 0.7797 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.007006, allocations: 139.6 kB / 0.7799 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.00732, allocations: 318.6 kB / 0.7802 GB, free: 324 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.007322, allocations: 0 / 0.7802 GB, free: 324 kB / 0.7292 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007323, allocations: 0 / 0.7802 GB, free: 324 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.007327, allocations: 0 / 0.7802 GB, free: 324 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0007621/0.008089, allocations: 0.6341 MB / 0.7808 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.008121, allocations: 14.81 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.008205, allocations: 64.88 kB / 0.7809 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.008501, allocations: 250.2 kB / 0.7811 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.008532, allocations: 29.38 kB / 0.7811 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.008581, allocations: 44.38 kB / 0.7812 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.008944, allocations: 351.6 kB / 0.7815 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.008955, allocations: 0.7812 kB / 0.7815 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.008979, allocations: 16.38 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.008992, allocations: 13.28 kB / 0.7816 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.009131, allocations: 98.83 kB / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01028, allocations: 0.8795 MB / 0.7825 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.01055, allocations: 107.9 kB / 0.7826 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.01061, allocations: 52.81 kB / 0.7827 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.01063, allocations: 4.531 kB / 0.7827 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.01065, allocations: 42.5 kB / 0.7827 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.482e-06/0.01065, allocations: 0.9375 kB / 0.7827 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.000221/0.01088, allocations: 124.8 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.01092, allocations: 112.5 kB / 0.7829 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.01115, allocations: 290.9 kB / 0.7832 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.01117, allocations: 37.69 kB / 0.7832 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.01129, allocations: 236.4 kB / 0.7835 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.01133, allocations: 71.38 kB / 0.7835 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.01142, allocations: 70.52 kB / 0.7836 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.01151, allocations: 348.3 kB / 0.7839 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.01159, allocations: 38.16 kB / 0.784 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.012, allocations: 243.1 kB / 0.7842 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.01217, allocations: 158.3 kB / 0.7844 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01217, allocations: 0 / 0.7844 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002386/0.01241, allocations: 185.3 kB / 0.7845 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.01242, allocations: 4 kB / 0.7845 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01243, allocations: 4 kB / 0.7845 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01244, allocations: 5.125 kB / 0.7845 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.01262, allocations: 63.89 kB / 0.7846 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.01262, allocations: 11.88 kB / 0.7846 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.01275, allocations: 48.78 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01276, allocations: 8 kB / 0.7847 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.94e-05/0.01286, allocations: 121.2 kB / 0.7848 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001274/0.01299, allocations: 227.1 kB / 0.785 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001473/0.01314, allocations: 156.4 kB / 0.7852 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.01314, allocations: 0 / 0.7852 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0002019/0.01334, allocations: 178.8 kB / 0.7853 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.01335, allocations: 8 kB / 0.7853 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.01335, allocations: 0 / 0.7853 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/0.01336, allocations: 4 kB / 0.7853 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.0135, allocations: 59.91 kB / 0.7854 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01351, allocations: 11.92 kB / 0.7854 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.01362, allocations: 39.77 kB / 0.7854 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.01363, allocations: 8 kB / 0.7854 GB, free: 10.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPID.con1.y,limPI.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 9.063e-05/0.01372, allocations: 203 kB / 0.7856 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.01376, allocations: 24.06 kB / 0.7857 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.01392, allocations: 132.5 kB / 0.7858 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01393, allocations: 0 / 0.7858 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01393, allocations: 0 / 0.7858 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01393, allocations: 0 / 0.7858 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.01449, allocations: 440 kB / 0.7862 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.0145, allocations: 1.125 kB / 0.7862 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.01461, allocations: 39.97 kB / 0.7862 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01461, allocations: 3.938 kB / 0.7863 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.01463, allocations: 8.906 kB / 0.7863 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.01463, allocations: 4 kB / 0.7863 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01463, allocations: 4.719 kB / 0.7863 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.01487, allocations: 273.6 kB / 0.7865 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.01491, allocations: 27.81 kB / 0.7866 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.01494, allocations: 9.125 kB / 0.7866 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.01505, allocations: 15.98 kB / 0.7866 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.01507, allocations: 17.03 kB / 0.7866 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.01508, allocations: 8 kB / 0.7866 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001008/0.01518, allocations: 112.6 kB / 0.7867 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01518, allocations: 1.406 kB / 0.7867 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003776/0.01556, allocations: 155.4 kB / 0.7869 GB, free: 9.039 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001165/0.01567, allocations: 85.7 kB / 0.7869 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.01596, allocations: 217 kB / 0.7872 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.01597, allocations: 9.438 kB / 0.7872 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.01603, allocations: 52.72 kB / 0.7872 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.01636, allocations: 74.78 kB / 0.7873 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/0.0172, allocations: 0.632 MB / 0.7879 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.085e-05/0.01728, allocations: 100.4 kB / 0.788 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.01739, allocations: 30.97 kB / 0.788 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.01754, allocations: 121.1 kB / 0.7881 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.01754, allocations: 0 / 0.7881 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of Templates: time 0.007172/0.02472, allocations: 3.781 MB / 0.7918 GB, free: 4.074 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0766148823313415]