Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001467/0.001468, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.424/1.424, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.863/1.863, allocations: 292.3 MB / 0.5495 GB, free: 17.42 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.001433/0.001433, allocations: 67.83 kB / 0.6721 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2164, allocations: 114.6 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005054/0.2215, allocations: 3.723 MB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3641/0.5856, allocations: 1.37 MB / 0.789 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005897/0.5863, allocations: 32.44 kB / 0.789 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.5866, allocations: 128.5 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.5872, allocations: 176.6 kB / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.5883, allocations: 0.5592 MB / 0.7899 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008277/0.5892, allocations: 0.9615 MB / 0.7908 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.5896, allocations: 355.1 kB / 0.7911 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.59, allocations: 365.8 kB / 0.7915 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.5903, allocations: 351.9 kB / 0.7918 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.066e-05/0.5904, allocations: 80 kB / 0.7919 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.058e-05/0.5905, allocations: 78.09 kB / 0.792 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.5906, allocations: 177.2 kB / 0.7921 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.5908, allocations: 385.2 kB / 0.7925 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.5915, allocations: 0.8561 MB / 0.7934 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5915, allocations: 0 / 0.7934 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5915, allocations: 3.938 kB / 0.7934 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.5915, allocations: 0.625 kB / 0.7934 GB, free: 45.4 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001799/0.5933, allocations: 1.182 MB / 0.7945 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.5934, allocations: 10.12 kB / 0.7945 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.5936, allocations: 93.41 kB / 0.7946 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.5943, allocations: 0.608 MB / 0.7952 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.296e-05/0.5944, allocations: 95.91 kB / 0.7953 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.5945, allocations: 54.86 kB / 0.7953 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/0.5955, allocations: 0.6019 MB / 0.7959 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5955, allocations: 0 / 0.7959 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.5955, allocations: 25.77 kB / 0.796 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.5956, allocations: 14.78 kB / 0.796 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008402/0.5964, allocations: 423.5 kB / 0.7964 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.5989, allocations: 2.112 MB / 0.7984 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.6001, allocations: 0.5023 MB / 0.7989 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/0.6005, allocations: 214.5 kB / 0.7991 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.6005, allocations: 4.469 kB / 0.7991 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006544/0.6012, allocations: 288.7 kB / 0.7994 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.895e-06/0.6012, allocations: 0 / 0.7994 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.00143/0.6027, allocations: 0.6092 MB / 0.8 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.6027, allocations: 90.42 kB / 0.8001 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/0.6035, allocations: 0.6128 MB / 0.8007 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.6035, allocations: 37.45 kB / 0.8007 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.6038, allocations: 363.9 kB / 0.8011 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.6039, allocations: 156.2 kB / 0.8012 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.6041, allocations: 94.23 kB / 0.8013 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.6041, allocations: 324.8 kB / 0.8016 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.6046, allocations: 186.4 kB / 0.8018 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.6051, allocations: 282.8 kB / 0.8021 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009098/0.606, allocations: 482.7 kB / 0.8025 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.606, allocations: 6.125 kB / 0.8025 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001217/0.6073, allocations: 0.597 MB / 0.8031 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.6073, allocations: 34.23 kB / 0.8032 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.6073, allocations: 2.219 kB / 0.8032 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.6074, allocations: 8.125 kB / 0.8032 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.6079, allocations: 105.4 kB / 0.8033 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.6079, allocations: 8.703 kB / 0.8033 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.6083, allocations: 64.03 kB / 0.8033 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.6084, allocations: 23.41 kB / 0.8034 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005995/0.609, allocations: 308.2 kB / 0.8037 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004526/0.6095, allocations: 269.5 kB / 0.8039 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008203/0.6103, allocations: 449.5 kB / 0.8043 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/0.6103, allocations: 6.75 kB / 0.8043 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001127/0.6114, allocations: 0.5768 MB / 0.8049 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.6115, allocations: 34.28 kB / 0.8049 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6115, allocations: 6.219 kB / 0.8049 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.6115, allocations: 4.719 kB / 0.8049 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.6119, allocations: 103.7 kB / 0.805 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.612, allocations: 8.344 kB / 0.8051 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.6123, allocations: 51.86 kB / 0.8051 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.6124, allocations: 19.75 kB / 0.8051 GB, free: 38.95 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001922/0.6126, allocations: 211 kB / 0.8053 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.6127, allocations: 73.88 kB / 0.8054 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.6129, allocations: 79.72 kB / 0.8055 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6129, allocations: 5.062 kB / 0.8055 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.6129, allocations: 3.656 kB / 0.8055 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.6129, allocations: 3.469 kB / 0.8055 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008371/0.6138, allocations: 0.6267 MB / 0.8061 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6138, allocations: 1.312 kB / 0.8061 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.6143, allocations: 85.89 kB / 0.8062 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.6143, allocations: 6.547 kB / 0.8062 GB, free: 38.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.6144, allocations: 8.234 kB / 0.8062 GB, free: 38.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.6144, allocations: 1.844 kB / 0.8062 GB, free: 38.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6144, allocations: 3.594 kB / 0.8062 GB, free: 38.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.6163, allocations: 0.7278 MB / 0.8069 GB, free: 37.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.6166, allocations: 191.3 kB / 0.8071 GB, free: 37.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.6167, allocations: 11.67 kB / 0.8071 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.6171, allocations: 33.75 kB / 0.8071 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6172, allocations: 34.16 kB / 0.8072 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.6173, allocations: 21.12 kB / 0.8072 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007596/0.618, allocations: 434.9 kB / 0.8076 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6181, allocations: 0 / 0.8076 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008612/0.6189, allocations: 218 kB / 0.8078 GB, free: 37.51 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0002087/0.6191, allocations: 115.8 kB / 0.8079 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.6212, allocations: 0.8069 MB / 0.8087 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6212, allocations: 0 / 0.8087 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.6218, allocations: 218.2 kB / 0.8089 GB, free: 37.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.6231, allocations: 205.1 kB / 0.8091 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.6258, allocations: 1.234 MB / 0.8103 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.6263, allocations: 0.9212 MB / 0.8112 GB, free: 35.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.6265, allocations: 54.86 kB / 0.8113 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of SimCode: time 1.433e-06/0.6265, allocations: 0 / 0.8113 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.02072/0.6472, allocations: 8.683 MB / 0.8197 GB, free: 34.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)