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.166/2.166, allocations: 248.5 MB / 261 MB, free: 6.129 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.001402/0.001402, allocations: 182.6 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 1.98/1.98, allocations: 205.2 MB / 0.5711 GB, free: 11.73 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.001181/0.00118, allocations: 86.48 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.33e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8841/1.082, allocations: 140 MB / 1.027 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.083, allocations: 86.38 kB / 1.027 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09315/1.176, allocations: 19.88 MB / 1.047 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.794e-06/1.176, allocations: 0 / 1.047 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001314/1.176, allocations: 31.98 kB / 1.047 GB, free: 10.63 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.003254/1.179, allocations: 1.085 MB / 1.048 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.179, allocations: 8.031 kB / 1.048 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003064/1.18, allocations: 106.6 kB / 1.048 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/1.18, allocations: 122.5 kB / 1.048 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/1.183, allocations: 0.7335 MB / 1.049 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/1.183, allocations: 80.83 kB / 1.049 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/1.183, allocations: 69.81 kB / 1.049 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/1.185, allocations: 0.7229 MB / 1.05 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/1.185, allocations: 3.938 kB / 1.05 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.185, allocations: 33.23 kB / 1.05 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/1.185, allocations: 16 kB / 1.05 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/1.187, allocations: 483.8 kB / 1.05 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00598/1.193, allocations: 2.354 MB / 1.053 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/1.195, allocations: 0.5946 MB / 1.053 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/1.196, allocations: 225.4 kB / 1.053 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-05/1.196, allocations: 16.55 kB / 1.053 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008107/1.197, allocations: 303.5 kB / 1.054 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 3.677e-06/1.197, allocations: 0 / 1.054 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.001579/1.198, allocations: 0.5225 MB / 1.054 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.198, allocations: 137.1 kB / 1.054 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/1.2, allocations: 0.654 MB / 1.055 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/1.2, allocations: 32.89 kB / 1.055 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/1.2, allocations: 444 kB / 1.055 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/1.201, allocations: 201 kB / 1.056 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/1.201, allocations: 14.5 kB / 1.056 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.201, allocations: 328.7 kB / 1.056 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/1.201, allocations: 177.8 kB / 1.056 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/1.202, allocations: 302.6 kB / 1.056 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/1.203, allocations: 212.9 kB / 1.057 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.203, allocations: 3.938 kB / 1.057 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001694/1.204, allocations: 0.6128 MB / 1.057 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004323/1.205, allocations: 0.8757 MB / 1.058 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.205, allocations: 4 kB / 1.058 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/1.205, allocations: 7.953 kB / 1.058 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.207, allocations: 174.9 kB / 1.058 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/1.207, allocations: 4 kB / 1.058 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.208, allocations: 86.03 kB / 1.058 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/1.208, allocations: 23.42 kB / 1.058 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.208, allocations: 4 kB / 1.058 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/1.209, allocations: 0.4962 MB / 1.059 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.209, allocations: 0 / 1.059 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.209, allocations: 8 kB / 1.059 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/1.211, allocations: 156 kB / 1.059 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.211, allocations: 4 kB / 1.059 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.212, allocations: 69.75 kB / 1.059 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/1.212, allocations: 22.94 kB / 1.059 GB, free: 0.4961 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.0002751/1.212, allocations: 153 kB / 1.059 GB, free: 368 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/1.213, allocations: 94.78 kB / 1.059 GB, free: 272 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/1.213, allocations: 104.7 kB / 1.059 GB, free: 216 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.213, allocations: 8 kB / 1.059 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.213, allocations: 0 / 1.059 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.213, allocations: 3.984 kB / 1.059 GB, free: 204 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/1.216, allocations: 1.456 MB / 1.061 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.216, allocations: 0 / 1.061 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.218, allocations: 106.7 kB / 1.061 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/1.218, allocations: 4 kB / 1.061 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/1.218, allocations: 11.25 kB / 1.061 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/1.218, allocations: 3.938 kB / 1.061 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.218, allocations: 0 / 1.061 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/1.22, allocations: 0.9205 MB / 1.062 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/1.22, allocations: 234.4 kB / 1.062 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/1.221, allocations: 10.94 kB / 1.062 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009816/1.222, allocations: 57.2 kB / 1.062 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.222, allocations: 31.27 kB / 1.062 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/1.222, allocations: 19.42 kB / 1.062 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001035/1.223, allocations: 0.5082 MB / 1.063 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/1.223, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001126/1.224, allocations: 287.9 kB / 1.063 GB, free: 13.41 MB / 0.6823 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.002601/1.227, allocations: 1.493 MB / 1.064 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002132/1.229, allocations: 0.7846 MB / 1.065 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.229, allocations: 0 / 1.065 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006495/1.229, allocations: 253 kB / 1.065 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.231, allocations: 236.8 kB / 1.066 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/1.236, allocations: 1.332 MB / 1.067 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007639/1.236, allocations: 1.019 MB / 1.068 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001357/1.238, allocations: 165.8 kB / 1.068 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000675/1.238, allocations: 345.6 kB / 1.068 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/1.238, allocations: 0 / 1.068 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06696/1.305, allocations: 18.47 MB / 1.086 GB, free: 6.559 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/1.306, allocations: 163.5 kB / 1.087 GB, free: 6.328 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.262/4.568, allocations: 4 kB / 1.087 GB, free: 6.324 MB / 0.698 GB