Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.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.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_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.259/2.259, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001503/0.001502, allocations: 181.1 kB / 315.4 MB, free: 4.031 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.232/2.232, allocations: 205.3 MB / 0.5662 GB, free: 0.5664 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.001095/0.001095, allocations: 90.92 kB / 0.6704 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.87e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2445, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8531/1.098, allocations: 134.5 MB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.098, allocations: 74.64 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09809/1.196, allocations: 21.71 MB / 1.037 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.495e-06/1.196, allocations: 0 / 1.037 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000144/1.196, allocations: 32 kB / 1.037 GB, free: 2.465 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.004134/1.201, allocations: 1.305 MB / 1.038 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/1.201, allocations: 15.95 kB / 1.038 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006123/1.201, allocations: 158.1 kB / 1.038 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/1.204, allocations: 0.7746 MB / 1.039 GB, free: 340 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.636e-05/1.204, allocations: 36 kB / 1.039 GB, free: 304 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/1.204, allocations: 60 kB / 1.039 GB, free: 244 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002209/1.206, allocations: 0.6379 MB / 1.04 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/1.209, allocations: 0.8524 MB / 1.041 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-05/1.209, allocations: 0 / 1.041 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/1.209, allocations: 4 kB / 1.041 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/1.209, allocations: 24 kB / 1.041 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009073/1.218, allocations: 3.738 MB / 1.044 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/1.221, allocations: 0.8307 MB / 1.045 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/1.222, allocations: 347.6 kB / 1.045 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.059e-05/1.222, allocations: 16.77 kB / 1.045 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009572/1.223, allocations: 345.1 kB / 1.046 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.899e-06/1.223, allocations: 0 / 1.046 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.001837/1.225, allocations: 0.614 MB / 1.046 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/1.225, allocations: 222.4 kB / 1.047 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/1.227, allocations: 0.6055 MB / 1.047 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002277/1.227, allocations: 29.7 kB / 1.047 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006068/1.228, allocations: 0.5399 MB / 1.048 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004574/1.228, allocations: 283.8 kB / 1.048 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/1.228, allocations: 4 kB / 1.048 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.228, allocations: 339.7 kB / 1.048 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/1.229, allocations: 237.4 kB / 1.049 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/1.23, allocations: 392.2 kB / 1.049 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/1.231, allocations: 277.6 kB / 1.049 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.231, allocations: 0 / 1.049 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002072/1.233, allocations: 0.7303 MB / 1.05 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003074/1.233, allocations: 452 kB / 1.05 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.233, allocations: 4 kB / 1.05 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/1.233, allocations: 4 kB / 1.05 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/1.235, allocations: 214.7 kB / 1.051 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/1.235, allocations: 8 kB / 1.051 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/1.236, allocations: 131.3 kB / 1.051 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/1.236, allocations: 30.38 kB / 1.051 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.236, allocations: 4 kB / 1.051 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001509/1.238, allocations: 0.5585 MB / 1.051 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.238, allocations: 7.984 kB / 1.051 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.238, allocations: 4 kB / 1.051 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.239, allocations: 162.2 kB / 1.051 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.239, allocations: 11.89 kB / 1.051 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000985/1.24, allocations: 91.45 kB / 1.051 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/1.24, allocations: 26.75 kB / 1.052 GB, free: 6.172 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0003044/1.241, allocations: 137.7 kB / 1.052 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001646/1.242, allocations: 0.6095 MB / 1.052 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/1.243, allocations: 94.78 kB / 1.052 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/1.243, allocations: 105 kB / 1.052 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/1.243, allocations: 12 kB / 1.052 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.243, allocations: 0 / 1.052 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.243, allocations: 3.984 kB / 1.052 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/1.245, allocations: 0.8559 MB / 1.053 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/1.245, allocations: 0 / 1.053 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/1.246, allocations: 190.5 kB / 1.053 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/1.246, allocations: 4 kB / 1.053 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/1.246, allocations: 3.625 kB / 1.053 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/1.246, allocations: 4 kB / 1.053 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.246, allocations: 3.953 kB / 1.053 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/1.25, allocations: 0.9903 MB / 1.054 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/1.251, allocations: 182 kB / 1.055 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/1.251, allocations: 0 / 1.055 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.253, allocations: 75.69 kB / 1.055 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/1.253, allocations: 66.64 kB / 1.055 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.253, allocations: 19.75 kB / 1.055 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00147/1.255, allocations: 469.1 kB / 1.055 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.31e-07/1.255, allocations: 0 / 1.055 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002142/1.257, allocations: 346.2 kB / 1.056 GB, free: 2.879 MB / 0.6667 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * 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.003705/1.261, allocations: 1.561 MB / 1.057 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002501/1.263, allocations: 0.9664 MB / 1.058 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.263, allocations: 4.062 kB / 1.058 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007788/1.264, allocations: 313.1 kB / 1.058 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.266, allocations: 216.9 kB / 1.059 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/1.27, allocations: 1.51 MB / 1.06 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009285/1.271, allocations: 1.107 MB / 1.061 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001324/1.272, allocations: 167.5 kB / 1.061 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/1.273, allocations: 440.7 kB / 1.062 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of SimCode: time 1.362e-06/1.273, allocations: 0 / 1.062 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07986/1.353, allocations: 19.06 MB / 1.08 GB, free: 10.88 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/1.353, allocations: 145.9 kB / 1.08 GB, free: 10.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/4.607, allocations: 2.25 kB / 1.08 GB, free: 10.69 MB / 0.698 GB