Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",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.26/2.26, allocations: 248.7 MB / 256.2 MB, free: 7.023 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.001428/0.001428, allocations: 181.8 kB / 315.4 MB, free: 4 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.066/2.066, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 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.001163/0.001163, allocations: 98.47 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.83e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2137, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9488/1.163, allocations: 140.2 MB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.163, allocations: 83.89 kB / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09194/1.255, allocations: 19.73 MB / 1.04 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.084e-06/1.255, allocations: 0 / 1.04 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001345/1.255, allocations: 28.12 kB / 1.04 GB, free: 14.2 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003122/1.258, allocations: 1.081 MB / 1.041 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/1.258, allocations: 12.03 kB / 1.041 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/1.259, allocations: 122.5 kB / 1.042 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/1.261, allocations: 0.727 MB / 1.042 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/1.262, allocations: 63.69 kB / 1.042 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/1.262, allocations: 44 kB / 1.042 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00139/1.263, allocations: 447 kB / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/1.265, allocations: 0.6233 MB / 1.043 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.265, allocations: 0 / 1.043 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.763e-05/1.265, allocations: 3.5 kB / 1.043 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/1.265, allocations: 20.75 kB / 1.043 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005643/1.271, allocations: 2.215 MB / 1.046 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/1.272, allocations: 0.561 MB / 1.046 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/1.273, allocations: 211 kB / 1.046 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.573e-05/1.273, allocations: 12.55 kB / 1.046 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007546/1.274, allocations: 287.1 kB / 1.047 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 3.547e-06/1.274, allocations: 3.938 kB / 1.047 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.00142/1.275, allocations: 498.2 kB / 1.047 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/1.275, allocations: 141 kB / 1.047 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/1.276, allocations: 0.5547 MB / 1.048 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/1.277, allocations: 25.7 kB / 1.048 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/1.277, allocations: 445.2 kB / 1.048 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.277, allocations: 197 kB / 1.048 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/1.277, allocations: 0 / 1.048 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.278, allocations: 329.1 kB / 1.049 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/1.278, allocations: 174.7 kB / 1.049 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/1.279, allocations: 275.9 kB / 1.049 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/1.279, allocations: 201.4 kB / 1.049 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.279, allocations: 0 / 1.049 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00164/1.281, allocations: 0.563 MB / 1.05 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005155/1.281, allocations: 0.8768 MB / 1.051 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.281, allocations: 4 kB / 1.051 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/1.281, allocations: 4 kB / 1.051 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.283, allocations: 159.6 kB / 1.051 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/1.283, allocations: 8 kB / 1.051 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/1.284, allocations: 67.45 kB / 1.051 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/1.284, allocations: 23.92 kB / 1.051 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.284, allocations: 4 kB / 1.051 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/1.286, allocations: 448.6 kB / 1.051 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.286, allocations: 4 kB / 1.052 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.286, allocations: 4 kB / 1.052 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/1.287, allocations: 151.3 kB / 1.052 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.287, allocations: 8 kB / 1.052 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009456/1.288, allocations: 59.75 kB / 1.052 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/1.288, allocations: 19.5 kB / 1.052 GB, free: 4.625 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002591/1.289, allocations: 122.7 kB / 1.052 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001363/1.29, allocations: 497.3 kB / 1.052 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/1.29, allocations: 90.86 kB / 1.052 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/1.291, allocations: 97.2 kB / 1.053 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/1.291, allocations: 4 kB / 1.053 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.291, allocations: 7.984 kB / 1.053 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.291, allocations: 0 / 1.053 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/1.294, allocations: 1.317 MB / 1.054 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.294, allocations: 0 / 1.054 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.295, allocations: 115 kB / 1.054 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.295, allocations: 4 kB / 1.054 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/1.295, allocations: 8.125 kB / 1.054 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.295, allocations: 0 / 1.054 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.295, allocations: 0 / 1.054 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/1.297, allocations: 0.8711 MB / 1.055 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/1.297, allocations: 235.5 kB / 1.055 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/1.298, allocations: 3.438 kB / 1.055 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009852/1.299, allocations: 39.95 kB / 1.055 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.299, allocations: 36.44 kB / 1.055 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/1.299, allocations: 19.94 kB / 1.055 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008537/1.3, allocations: 439.8 kB / 1.056 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.51e-07/1.3, allocations: 0 / 1.056 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001362/1.301, allocations: 264.6 kB / 1.056 GB, free: 1.387 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00233/1.303, allocations: 1.423 MB / 1.057 GB, free: 212 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001989/1.305, allocations: 0.7314 MB / 1.058 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/1.306, allocations: 7.938 kB / 1.058 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006042/1.306, allocations: 228 kB / 1.058 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/1.308, allocations: 216.4 kB / 1.058 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/1.312, allocations: 1.277 MB / 1.06 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/1.313, allocations: 1.014 MB / 1.061 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001472/1.315, allocations: 169.6 kB / 1.061 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/1.316, allocations: 347.3 kB / 1.061 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of SimCode: time 1.483e-06/1.316, allocations: 0 / 1.061 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09272/1.408, allocations: 16.79 MB / 1.077 GB, free: 12.27 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/1.409, allocations: 144 kB / 1.078 GB, free: 12.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.219/4.628, allocations: 0 / 1.078 GB, free: 12.08 MB / 0.698 GB