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.106/2.106, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001461, allocations: 167.4 kB / 325.4 MB, free: 2.902 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.388/2.388, allocations: 205.4 MB / 0.5764 GB, free: 21.16 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.001123/0.001123, allocations: 93.41 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001655, allocations: 12.12 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.23, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2606/0.4907, allocations: 140.1 MB / 1.036 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.491, allocations: 83.95 kB / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1021/0.5932, allocations: 19.91 MB / 1.055 GB, free: 1.648 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5932, allocations: 0 / 1.055 GB, free: 1.648 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000112/0.5933, allocations: 24 kB / 1.055 GB, free: 1.625 MB / 0.698 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.003552/0.5969, allocations: 1.249 MB / 1.056 GB, free: 328 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.597, allocations: 8.031 kB / 1.056 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002419/0.5972, allocations: 118.5 kB / 1.056 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.5975, allocations: 122.5 kB / 1.057 GB, free: 68 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5873/1.185, allocations: 0.7281 MB / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/1.185, allocations: 83.7 kB / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/1.185, allocations: 69.16 kB / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/1.188, allocations: 0.7782 MB / 1.058 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/1.188, allocations: 4.375 kB / 1.058 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/1.188, allocations: 26.72 kB / 1.058 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/1.188, allocations: 20.92 kB / 1.058 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/1.19, allocations: 0.569 MB / 1.059 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006246/1.196, allocations: 2.361 MB / 1.061 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/1.199, allocations: 0.6997 MB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/1.199, allocations: 6.172 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/1.201, allocations: 352 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 4.248e-06/1.201, allocations: 0 / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.003066/1.204, allocations: 0.8297 MB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/1.204, allocations: 138.4 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/1.205, allocations: 0.6545 MB / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/1.206, allocations: 43.22 kB / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/1.206, allocations: 439.5 kB / 1.064 GB, free: 142.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/1.206, allocations: 208.7 kB / 1.064 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/1.206, allocations: 7.562 kB / 1.064 GB, free: 142.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.207, allocations: 333.8 kB / 1.065 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/1.208, allocations: 223 kB / 1.065 GB, free: 142.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009747/1.209, allocations: 346.1 kB / 1.065 GB, free: 142.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/1.21, allocations: 254.2 kB / 1.065 GB, free: 142.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.21, allocations: 0.9062 kB / 1.065 GB, free: 142.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002755/1.212, allocations: 0.6996 MB / 1.066 GB, free: 142.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/1.213, allocations: 0.8755 MB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/1.213, allocations: 2.75 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/1.213, allocations: 8.281 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/1.215, allocations: 161.6 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.813e-05/1.215, allocations: 11.28 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/1.216, allocations: 79.5 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.216, allocations: 26.52 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.216, allocations: 3.969 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002248/1.218, allocations: 0.5612 MB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/1.218, allocations: 2.922 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.219, allocations: 5.438 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/1.22, allocations: 151.9 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/1.22, allocations: 6.203 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.221, allocations: 78.06 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.222, allocations: 26.33 kB / 1.068 GB, free: 141.1 MB / 0.698 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 () * Number of clocked 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.0006939/1.222, allocations: 302.8 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/1.223, allocations: 95.55 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/1.223, allocations: 101.1 kB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.223, allocations: 7.75 kB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.223, allocations: 0 / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/1.223, allocations: 8.078 kB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004572/1.228, allocations: 1.53 MB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/1.228, allocations: 0 / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.229, allocations: 117 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/1.229, allocations: 1.906 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/1.229, allocations: 16.73 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/1.229, allocations: 2.156 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.229, allocations: 0.6875 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/1.233, allocations: 1.04 MB / 1.071 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/1.234, allocations: 233.2 kB / 1.071 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/1.234, allocations: 16.89 kB / 1.071 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.235, allocations: 54.62 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/1.235, allocations: 34.78 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/1.235, allocations: 19.25 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001306/1.237, allocations: 0.5194 MB / 1.072 GB, free: 140 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.91e-07/1.237, allocations: 3.609 kB / 1.072 GB, free: 140 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001686/1.239, allocations: 280.9 kB / 1.072 GB, free: 140 MB / 0.698 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 () * Number of clocked 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.004152/1.243, allocations: 1.617 MB / 1.074 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003389/1.246, allocations: 0.8687 MB / 1.075 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.246, allocations: 1.25 kB / 1.075 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.247, allocations: 287.6 kB / 1.075 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/1.25, allocations: 232.5 kB / 1.075 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006545/1.256, allocations: 3.643 MB / 1.079 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/1.257, allocations: 1.014 MB / 1.08 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001161/1.258, allocations: 124.6 kB / 1.08 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009454/1.259, allocations: 355.4 kB / 1.08 GB, free: 135.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.533e-06/1.259, allocations: 0 / 1.08 GB, free: 135.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/1.315, allocations: 16.73 MB / 1.097 GB, free: 133.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/1.316, allocations: 193.1 kB / 1.097 GB, free: 132.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.528/4.844, allocations: 0 / 1.097 GB, free: 132.9 MB / 0.698 GB