Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.254/2.254, allocations: 248.5 MB / 261 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 183 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.2 MB / 0.571 GB, free: 11.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 98.05 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.401e-05/5.412e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.866/1.078, allocations: 133.8 MB / 1.021 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.078, allocations: 75.27 kB / 1.021 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03231/1.11, allocations: 8.035 MB / 1.029 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.084e-06/1.11, allocations: 192 / 1.029 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.792e-05/1.11, allocations: 15.94 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001438/1.112, allocations: 0.6438 MB / 1.03 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/1.112, allocations: 8.031 kB / 1.03 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/1.112, allocations: 74.22 kB / 1.03 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/1.112, allocations: 62.59 kB / 1.03 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/1.113, allocations: 376.4 kB / 1.03 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/1.113, allocations: 27.16 kB / 1.03 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/1.113, allocations: 41.5 kB / 1.03 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/1.114, allocations: 391.7 kB / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/1.114, allocations: 0 / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/1.114, allocations: 18.06 kB / 1.031 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/1.114, allocations: 12 kB / 1.031 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006778/1.115, allocations: 249.4 kB / 1.031 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/1.119, allocations: 1.634 MB / 1.033 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/1.12, allocations: 279.7 kB / 1.033 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/1.12, allocations: 126.9 kB / 1.033 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/1.12, allocations: 4 kB / 1.033 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/1.12, allocations: 34.56 kB / 1.033 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 3.196e-06/1.12, allocations: 0 / 1.033 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0006624/1.121, allocations: 236.3 kB / 1.033 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/1.121, allocations: 110.8 kB / 1.033 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/1.122, allocations: 364.5 kB / 1.034 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/1.122, allocations: 33.52 kB / 1.034 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/1.122, allocations: 238.5 kB / 1.034 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/1.122, allocations: 95.78 kB / 1.034 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/1.122, allocations: 2.688 kB / 1.034 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.122, allocations: 358 kB / 1.034 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/1.122, allocations: 79.69 kB / 1.035 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/1.123, allocations: 158 kB / 1.035 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/1.123, allocations: 103.6 kB / 1.035 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/1.123, allocations: 4 kB / 1.035 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007973/1.124, allocations: 320.2 kB / 1.035 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002522/1.124, allocations: 0.5274 MB / 1.036 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.124, allocations: 7.938 kB / 1.036 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/1.124, allocations: 7.953 kB / 1.036 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/1.125, allocations: 67.89 kB / 1.036 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/1.125, allocations: 4 kB / 1.036 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/1.125, allocations: 54.17 kB / 1.036 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/1.125, allocations: 15.55 kB / 1.036 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/1.125, allocations: 4 kB / 1.036 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005849/1.126, allocations: 236.4 kB / 1.036 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/1.126, allocations: 0 / 1.036 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/1.126, allocations: 4 kB / 1.036 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/1.126, allocations: 51.92 kB / 1.036 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.126, allocations: 8.125 kB / 1.036 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/1.127, allocations: 43.11 kB / 1.036 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/1.127, allocations: 8 kB / 1.036 GB, free: 4.227 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/1.127, allocations: 118 kB / 1.036 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.127, allocations: 47.39 kB / 1.036 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/1.127, allocations: 49.39 kB / 1.036 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.127, allocations: 0 / 1.036 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.127, allocations: 8 kB / 1.036 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.127, allocations: 0 / 1.036 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/1.129, allocations: 0.859 MB / 1.037 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.129, allocations: 0 / 1.037 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/1.13, allocations: 55.91 kB / 1.037 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/1.13, allocations: 4 kB / 1.037 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/1.13, allocations: 11.56 kB / 1.037 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/1.13, allocations: 0 / 1.037 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.13, allocations: 4 kB / 1.037 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/1.131, allocations: 0.6095 MB / 1.038 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/1.131, allocations: 126.2 kB / 1.038 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/1.131, allocations: 7.312 kB / 1.038 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/1.131, allocations: 22.48 kB / 1.038 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/1.131, allocations: 23.55 kB / 1.038 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/1.131, allocations: 19.23 kB / 1.038 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005157/1.132, allocations: 279.9 kB / 1.038 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.132, allocations: 3.938 kB / 1.038 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007113/1.133, allocations: 141.8 kB / 1.038 GB, free: 2.086 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00168/1.134, allocations: 1.767 MB / 1.04 GB, free: 368 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009776/1.135, allocations: 371.6 kB / 1.041 GB, free: 112 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.135, allocations: 0 / 1.041 GB, free: 112 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002634/1.136, allocations: 98.62 kB / 1.041 GB, free: 44 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/1.137, allocations: 98.14 kB / 1.041 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/1.139, allocations: 0.6624 MB / 1.041 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/1.139, allocations: 0.82 MB / 1.042 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004604/1.14, allocations: 63.23 kB / 1.042 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/1.14, allocations: 143.6 kB / 1.042 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of SimCode: time 9.72e-07/1.14, allocations: 0 / 1.042 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/1.185, allocations: 7.836 MB / 1.05 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003112/1.186, allocations: 171.6 kB / 1.05 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.927, allocations: 3.938 kB / 1.05 GB, free: 6.496 MB / 0.6667 GB