Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.54/1.54, allocations: 292.3 MB / 308.1 MB, free: 4.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 195.9 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009353/0.0009355, allocations: 101.7 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2215, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.00676/0.2283, allocations: 5.594 MB / 0.9877 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.2316, allocations: 1.737 MB / 0.9894 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008953/0.2325, allocations: 31.88 kB / 0.9894 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.2332, allocations: 190.2 kB / 0.9896 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007861/0.234, allocations: 138.8 kB / 0.9897 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.2353, allocations: 0.5502 MB / 0.9903 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.2369, allocations: 1.546 MB / 0.9918 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.2381, allocations: 0.7973 MB / 0.9926 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.2386, allocations: 469.6 kB / 0.993 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.239, allocations: 0.5553 MB / 0.9936 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.2392, allocations: 76 kB / 0.9936 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.2393, allocations: 91.98 kB / 0.9937 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.2395, allocations: 258.7 kB / 0.994 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.24, allocations: 0.5899 MB / 0.9945 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.2412, allocations: 1.818 MB / 0.9963 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2413, allocations: 4 kB / 0.9963 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2413, allocations: 0 / 0.9963 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.2413, allocations: 3.938 kB / 0.9963 GB, free: 11.85 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002746/0.244, allocations: 1.765 MB / 0.9981 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2441, allocations: 8.031 kB / 0.9981 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.2443, allocations: 171 kB / 0.9982 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.2454, allocations: 0.8092 MB / 0.999 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/0.2455, allocations: 86.55 kB / 0.9991 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.2456, allocations: 120.3 kB / 0.9992 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.2472, allocations: 1.085 MB / 1 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.2472, allocations: 8.125 kB / 1 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.2473, allocations: 55.92 kB / 1 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.2474, allocations: 28 kB / 1 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.2488, allocations: 0.8043 MB / 1.001 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.2534, allocations: 3.916 MB / 1.005 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2552, allocations: 0.9445 MB / 1.006 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.2559, allocations: 458.4 kB / 1.006 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.256, allocations: 12.64 kB / 1.006 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007826/0.2568, allocations: 423.3 kB / 1.007 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=84): time 2.895e-06/0.2568, allocations: 0 / 1.007 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of matching and sorting (n=84): time 0.001868/0.2587, allocations: 1.034 MB / 1.008 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/0.2588, allocations: 222.6 kB / 1.008 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/0.2597, allocations: 0.9271 MB / 1.009 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.2598, allocations: 45.7 kB / 1.009 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.2602, allocations: 0.5818 MB / 1.009 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.2604, allocations: 283.8 kB / 1.01 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.2606, allocations: 178.5 kB / 1.01 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2607, allocations: 341.9 kB / 1.01 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/0.2614, allocations: 348.7 kB / 1.011 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008176/0.2622, allocations: 0.5794 MB / 1.011 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.2636, allocations: 0.8361 MB / 1.012 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2636, allocations: 4 kB / 1.012 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001762/0.2653, allocations: 1.072 MB / 1.013 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.2654, allocations: 41.69 kB / 1.013 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2654, allocations: 4 kB / 1.013 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2654, allocations: 12 kB / 1.013 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.2661, allocations: 191.7 kB / 1.013 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2661, allocations: 12 kB / 1.013 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.2668, allocations: 167 kB / 1.013 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.2669, allocations: 39.98 kB / 1.013 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006482/0.2675, allocations: 470 kB / 1.014 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005475/0.2681, allocations: 0.5052 MB / 1.014 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008375/0.2689, allocations: 0.7074 MB / 1.015 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.2689, allocations: 0 / 1.015 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.001201/0.2701, allocations: 0.9349 MB / 1.016 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.2702, allocations: 33.7 kB / 1.016 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2702, allocations: 4 kB / 1.016 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.2702, allocations: 8 kB / 1.016 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.2707, allocations: 171.8 kB / 1.016 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2707, allocations: 20.42 kB / 1.016 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.2713, allocations: 135.2 kB / 1.016 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.2714, allocations: 39.98 kB / 1.016 GB, free: 6.492 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,pulse.booPul.y,$PRE.pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * 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.000196/0.2716, allocations: 246.8 kB / 1.017 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.2717, allocations: 114.6 kB / 1.017 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.2719, allocations: 123.6 kB / 1.017 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.272, allocations: 8 kB / 1.017 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.272, allocations: 0 / 1.017 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.272, allocations: 7.984 kB / 1.017 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009927/0.273, allocations: 1.007 MB / 1.018 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.273, allocations: 0 / 1.018 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.2736, allocations: 151.8 kB / 1.018 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2736, allocations: 4 kB / 1.018 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.2737, allocations: 23.98 kB / 1.018 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2737, allocations: 4 kB / 1.018 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2737, allocations: 0 / 1.018 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3929/0.6666, allocations: 6.649 MB / 1.025 GB, free: 95.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.6668, allocations: 200.5 kB / 1.025 GB, free: 95.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.6669, allocations: 18 kB / 1.025 GB, free: 95.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.6673, allocations: 54.91 kB / 1.025 GB, free: 95.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.6674, allocations: 48.58 kB / 1.025 GB, free: 95.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.6675, allocations: 25.77 kB / 1.025 GB, free: 95.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007448/0.6682, allocations: 0.6273 MB / 1.025 GB, free: 95.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6682, allocations: 0.8438 kB / 1.025 GB, free: 95.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001303/0.6695, allocations: 0.5297 MB / 1.026 GB, free: 95.49 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001933/0.6697, allocations: 130.3 kB / 1.026 GB, free: 95.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002063/0.6718, allocations: 1.356 MB / 1.027 GB, free: 95.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6718, allocations: 3.203 kB / 1.027 GB, free: 95.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.6724, allocations: 371.8 kB / 1.028 GB, free: 95.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.6734, allocations: 245.1 kB / 1.028 GB, free: 95.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.6762, allocations: 2.895 MB / 1.031 GB, free: 93.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.6767, allocations: 1.116 MB / 1.032 GB, free: 93.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005455/0.6773, allocations: 148.1 kB / 1.032 GB, free: 93.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.6775, allocations: 88.02 kB / 1.032 GB, free: 93.05 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.6775, allocations: 1.125 kB / 1.032 GB, free: 93.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.02406/0.7016, allocations: 13.14 MB / 1.045 GB, free: 92.47 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)