Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_LimPID",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.515/2.515, allocations: 248.7 MB / 256.2 MB, free: 7.062 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.00145/0.00145, allocations: 184.8 kB / 315.4 MB, free: 3.996 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.075/2.075, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 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.001051/0.001051, allocations: 88.3 kB / 0.6704 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.369e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2429, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.889/1.132, allocations: 139.8 MB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.132, allocations: 79.56 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08067/1.213, allocations: 16.83 MB / 1.037 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.195e-06/1.213, allocations: 0 / 1.037 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001001/1.213, allocations: 23.94 kB / 1.037 GB, free: 1.34 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002743/1.216, allocations: 0.9411 MB / 1.038 GB, free: 400 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.216, allocations: 8.031 kB / 1.038 GB, free: 392 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/1.217, allocations: 94.88 kB / 1.038 GB, free: 296 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/1.218, allocations: 0.59 MB / 1.039 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/1.218, allocations: 80.72 kB / 1.039 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/1.219, allocations: 35.62 kB / 1.039 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/1.22, allocations: 336.8 kB / 1.039 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/1.221, allocations: 0.5089 MB / 1.04 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/1.221, allocations: 7.891 kB / 1.04 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/1.221, allocations: 0 / 1.04 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/1.221, allocations: 16 kB / 1.04 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005212/1.226, allocations: 2.107 MB / 1.042 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.228, allocations: 430.5 kB / 1.042 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/1.228, allocations: 162.8 kB / 1.042 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/1.228, allocations: 6.156 kB / 1.042 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006504/1.229, allocations: 233 kB / 1.043 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=45): time 3.707e-06/1.229, allocations: 0 / 1.043 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001187/1.23, allocations: 388.7 kB / 1.043 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.23, allocations: 191.9 kB / 1.043 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/1.231, allocations: 473.1 kB / 1.044 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/1.232, allocations: 37.69 kB / 1.044 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/1.232, allocations: 369.3 kB / 1.044 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/1.232, allocations: 150.5 kB / 1.044 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/1.232, allocations: 0 / 1.044 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.233, allocations: 386.3 kB / 1.044 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/1.233, allocations: 132.3 kB / 1.045 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/1.234, allocations: 269.4 kB / 1.045 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/1.234, allocations: 169.1 kB / 1.045 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.234, allocations: 4 kB / 1.045 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001372/1.235, allocations: 476.9 kB / 1.045 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005859/1.236, allocations: 0.9944 MB / 1.046 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.236, allocations: 4 kB / 1.046 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/1.236, allocations: 4 kB / 1.046 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.237, allocations: 118.4 kB / 1.047 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.237, allocations: 8 kB / 1.047 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009954/1.238, allocations: 63.64 kB / 1.047 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/1.238, allocations: 21.12 kB / 1.047 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.238, allocations: 4 kB / 1.047 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/1.24, allocations: 387.5 kB / 1.047 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.24, allocations: 7.922 kB / 1.047 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.739e-05/1.24, allocations: 8 kB / 1.047 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009854/1.241, allocations: 120.1 kB / 1.047 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/1.241, allocations: 7.938 kB / 1.047 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009741/1.242, allocations: 63.55 kB / 1.047 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/1.242, allocations: 15.06 kB / 1.047 GB, free: 8.465 MB / 0.6667 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003101/1.242, allocations: 127.2 kB / 1.047 GB, free: 8.336 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001192/1.243, allocations: 384.4 kB / 1.048 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/1.244, allocations: 75.11 kB / 1.048 GB, free: 7.977 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/1.244, allocations: 72.19 kB / 1.048 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.244, allocations: 4 kB / 1.048 GB, free: 7.934 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.244, allocations: 0 / 1.048 GB, free: 7.934 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.244, allocations: 7.984 kB / 1.048 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/1.245, allocations: 0.5758 MB / 1.048 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.245, allocations: 0 / 1.048 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/1.246, allocations: 95.77 kB / 1.049 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/1.246, allocations: 4 kB / 1.049 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/1.246, allocations: 7.359 kB / 1.049 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/1.246, allocations: 7.953 kB / 1.049 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.246, allocations: 0 / 1.049 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/1.248, allocations: 0.6108 MB / 1.049 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/1.249, allocations: 205.6 kB / 1.049 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.249, allocations: 7.984 kB / 1.049 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/1.25, allocations: 47.95 kB / 1.049 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.25, allocations: 39.16 kB / 1.049 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/1.25, allocations: 19.42 kB / 1.049 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007069/1.251, allocations: 362.7 kB / 1.05 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.12e-07/1.251, allocations: 0 / 1.05 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001225/1.252, allocations: 219.1 kB / 1.05 GB, free: 6.16 MB / 0.6667 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) * 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 (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.002063/1.254, allocations: 1.181 MB / 1.051 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001785/1.256, allocations: 0.6963 MB / 1.052 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.256, allocations: 7.125 kB / 1.052 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004898/1.257, allocations: 176.6 kB / 1.052 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/1.258, allocations: 175.5 kB / 1.052 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/1.262, allocations: 0.9781 MB / 1.053 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007156/1.262, allocations: 0.9345 MB / 1.054 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001105/1.264, allocations: 135.2 kB / 1.054 GB, free: 2.379 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/1.264, allocations: 262.7 kB / 1.054 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of SimCode: time 1.052e-06/1.264, allocations: 0 / 1.054 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06806/1.332, allocations: 13.7 MB / 1.068 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/1.333, allocations: 140.1 kB / 1.068 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/4.259, allocations: 0 / 1.068 GB, free: 4.512 MB / 0.6823 GB