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.282/2.282, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.001512/0.001512, allocations: 187.4 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 89.78 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.367e-05, allocations: 16 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2142, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9137/1.128, allocations: 134 MB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/1.128, allocations: 80.48 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03318/1.161, allocations: 7.971 MB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.222e-06/1.162, allocations: 4 kB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.515e-05/1.162, allocations: 8 kB / 1.023 GB, free: 14.12 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.001476/1.163, allocations: 0.6555 MB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/1.163, allocations: 12.03 kB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/1.163, allocations: 55.34 kB / 1.024 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009301/1.164, allocations: 365.8 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/1.164, allocations: 15.98 kB / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.65e-05/1.164, allocations: 27.69 kB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006682/1.165, allocations: 217.9 kB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/1.166, allocations: 341.5 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.166, allocations: 7.984 kB / 1.025 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/1.166, allocations: 0 / 1.025 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/1.166, allocations: 8 kB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/1.169, allocations: 1.532 MB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.17, allocations: 279.1 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/1.171, allocations: 115 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/1.171, allocations: 8 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.171, allocations: 34.56 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 3.267e-06/1.171, allocations: 4 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0006823/1.171, allocations: 218.5 kB / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/1.172, allocations: 106.8 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/1.172, allocations: 290.1 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/1.172, allocations: 25.7 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/1.172, allocations: 248.4 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/1.172, allocations: 84.19 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/1.173, allocations: 4 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.173, allocations: 344.3 kB / 1.028 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/1.173, allocations: 79.94 kB / 1.028 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/1.173, allocations: 163.4 kB / 1.028 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/1.174, allocations: 102.7 kB / 1.028 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.174, allocations: 0 / 1.028 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000723/1.174, allocations: 272.8 kB / 1.028 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002501/1.175, allocations: 0.5403 MB / 1.029 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.175, allocations: 4 kB / 1.029 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.175, allocations: 8.031 kB / 1.029 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/1.175, allocations: 67.84 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.175, allocations: 7.984 kB / 1.029 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/1.176, allocations: 47.62 kB / 1.029 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/1.176, allocations: 14.81 kB / 1.029 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/1.176, allocations: 0 / 1.029 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005427/1.176, allocations: 201.4 kB / 1.029 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.176, allocations: 7.953 kB / 1.029 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/1.176, allocations: 7.984 kB / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/1.177, allocations: 51.92 kB / 1.029 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/1.177, allocations: 4.125 kB / 1.029 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/1.177, allocations: 27.83 kB / 1.029 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/1.177, allocations: 11.06 kB / 1.029 GB, free: 8.352 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.0001505/1.177, allocations: 112.5 kB / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000525/1.178, allocations: 207.4 kB / 1.03 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/1.178, allocations: 35.58 kB / 1.03 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/1.178, allocations: 39.41 kB / 1.03 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/1.178, allocations: 4 kB / 1.03 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.178, allocations: 0 / 1.03 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.467e-06/1.178, allocations: 4 kB / 1.03 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/1.18, allocations: 0.7679 MB / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.18, allocations: 3.984 kB / 1.03 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/1.18, allocations: 59.53 kB / 1.03 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/1.18, allocations: 4 kB / 1.03 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/1.181, allocations: 4 kB / 1.03 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/1.181, allocations: 7.938 kB / 1.03 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.181, allocations: 4.281 kB / 1.03 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009708/1.182, allocations: 0.5753 MB / 1.031 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/1.182, allocations: 126.6 kB / 1.031 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/1.182, allocations: 4 kB / 1.031 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/1.182, allocations: 23.98 kB / 1.031 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/1.182, allocations: 23.53 kB / 1.031 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/1.182, allocations: 8 kB / 1.031 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003565/1.183, allocations: 220.8 kB / 1.031 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.183, allocations: 3.938 kB / 1.031 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007706/1.183, allocations: 123.4 kB / 1.032 GB, free: 6.215 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.001566/1.185, allocations: 1.752 MB / 1.033 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008969/1.186, allocations: 334.7 kB / 1.034 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.186, allocations: 3.938 kB / 1.034 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/1.186, allocations: 99.36 kB / 1.034 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/1.187, allocations: 79.91 kB / 1.034 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/1.189, allocations: 0.6212 MB / 1.034 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/1.19, allocations: 0.8233 MB / 1.035 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004773/1.19, allocations: 59.41 kB / 1.035 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/1.191, allocations: 142.2 kB / 1.035 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.273e-06/1.191, allocations: 0 / 1.035 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05737/1.248, allocations: 6.643 MB / 1.042 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003045/1.248, allocations: 167.7 kB / 1.042 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.991, allocations: 6.062 kB / 1.042 GB, free: 11.77 MB / 0.6667 GB