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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 105.7 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 195.4 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 68.2 kB / 0.6717 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.269, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.007353/0.2764, allocations: 5.595 MB / 0.789 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.2809, allocations: 1.717 MB / 0.7907 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.2824, allocations: 35.88 kB / 0.7907 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.2831, allocations: 190.2 kB / 0.7909 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009174/0.284, allocations: 146.8 kB / 0.791 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.2855, allocations: 0.5421 MB / 0.7916 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.2878, allocations: 1.663 MB / 0.7932 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.2892, allocations: 0.8246 MB / 0.794 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008522/0.2901, allocations: 0.5445 MB / 0.7945 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.2907, allocations: 0.6177 MB / 0.7951 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.2909, allocations: 164 kB / 0.7953 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.2912, allocations: 184 kB / 0.7955 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.2915, allocations: 326.8 kB / 0.7958 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005924/0.2921, allocations: 0.6719 MB / 0.7964 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.2935, allocations: 1.539 MB / 0.7979 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.2936, allocations: 4 kB / 0.7979 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2936, allocations: 3.938 kB / 0.7979 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.2936, allocations: 0 / 0.7979 GB, free: 15.05 MB / 0.6231 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.003044/0.2966, allocations: 1.769 MB / 0.7997 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.2967, allocations: 8.031 kB / 0.7997 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.297, allocations: 167 kB / 0.7998 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.2982, allocations: 0.8092 MB / 0.8006 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.2983, allocations: 82.55 kB / 0.8007 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.2984, allocations: 116.4 kB / 0.8008 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.3002, allocations: 1.089 MB / 0.8019 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3003, allocations: 192 / 0.8019 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.3004, allocations: 51.94 kB / 0.8019 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.3004, allocations: 28 kB / 0.8019 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.302, allocations: 0.8121 MB / 0.8027 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/0.3075, allocations: 3.92 MB / 0.8066 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.3095, allocations: 0.9444 MB / 0.8075 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007621/0.3102, allocations: 458.6 kB / 0.8079 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.3103, allocations: 8.656 kB / 0.8079 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008697/0.3112, allocations: 419.4 kB / 0.8083 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 3.948e-06/0.3112, allocations: 0 / 0.8083 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.002102/0.3133, allocations: 1.038 MB / 0.8094 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.3135, allocations: 218.6 kB / 0.8096 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.3146, allocations: 0.9194 MB / 0.8105 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/0.3147, allocations: 49.69 kB / 0.8105 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005013/0.3153, allocations: 0.5819 MB / 0.8111 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.3155, allocations: 287.8 kB / 0.8113 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.3158, allocations: 178.5 kB / 0.8115 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.316, allocations: 349.9 kB / 0.8119 GB, free: 372 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/0.3167, allocations: 348.6 kB / 0.8122 GB, free: 20 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.3176, allocations: 0.5755 MB / 0.8127 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.319, allocations: 0.8439 MB / 0.8136 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.319, allocations: 4 kB / 0.8136 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002074/0.3211, allocations: 1.072 MB / 0.8146 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.3212, allocations: 41.7 kB / 0.8147 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3212, allocations: 4 kB / 0.8147 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.3212, allocations: 8 kB / 0.8147 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/0.322, allocations: 199.7 kB / 0.8149 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.322, allocations: 12.12 kB / 0.8149 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.3229, allocations: 159 kB / 0.815 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-05/0.323, allocations: 39.98 kB / 0.8151 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008709/0.3239, allocations: 466.6 kB / 0.8155 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006664/0.3246, allocations: 0.5014 MB / 0.816 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.3256, allocations: 0.7074 MB / 0.8167 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.991e-06/0.3256, allocations: 3.984 kB / 0.8167 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.001652/0.3272, allocations: 0.9309 MB / 0.8176 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.3273, allocations: 41.69 kB / 0.8176 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3273, allocations: 4.562 kB / 0.8176 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3273, allocations: 12 kB / 0.8177 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.3279, allocations: 171.8 kB / 0.8178 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.328, allocations: 8 kB / 0.8178 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/0.3287, allocations: 135.2 kB / 0.818 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.3288, allocations: 32 kB / 0.818 GB, free: 9.715 MB / 0.6387 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.0003763/0.3292, allocations: 255.9 kB / 0.8182 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.3294, allocations: 110.6 kB / 0.8183 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.3298, allocations: 119.7 kB / 0.8185 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3298, allocations: 15.98 kB / 0.8185 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.3298, allocations: 0 / 0.8185 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.3298, allocations: 3.984 kB / 0.8185 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.3314, allocations: 1.003 MB / 0.8194 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.3314, allocations: 0 / 0.8194 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006972/0.3321, allocations: 159.8 kB / 0.8196 GB, free: 8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.3321, allocations: 4 kB / 0.8196 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.3322, allocations: 23.94 kB / 0.8196 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.3322, allocations: 0 / 0.8196 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3322, allocations: 0 / 0.8196 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.3345, allocations: 1.198 MB / 0.8208 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.3348, allocations: 203.5 kB / 0.821 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.335, allocations: 15.94 kB / 0.821 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.3354, allocations: 55.94 kB / 0.8211 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3355, allocations: 48.94 kB / 0.8211 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.3356, allocations: 27.92 kB / 0.8211 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001002/0.3366, allocations: 0.6241 MB / 0.8217 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3366, allocations: 0 / 0.8217 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001356/0.3379, allocations: 414.2 kB / 0.8221 GB, free: 5.355 MB / 0.6387 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.0002742/0.3382, allocations: 135.1 kB / 0.8223 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003147/0.3414, allocations: 1.385 MB / 0.8236 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.3414, allocations: 8.062 kB / 0.8236 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007248/0.3421, allocations: 369.6 kB / 0.824 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.3435, allocations: 265.8 kB / 0.8242 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.3479, allocations: 2.472 MB / 0.8266 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.3491, allocations: 1.101 MB / 0.8277 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.3495, allocations: 83.42 kB / 0.8278 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of SimCode: time 1.072e-06/0.3495, allocations: 0 / 0.8278 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of Templates: time 0.02547/0.375, allocations: 13.82 MB / 0.8413 GB, free: 1.684 MB / 0.6544 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)