Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.216/2.216, allocations: 251 MB / 265.9 MB, free: 11.75 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.002388/0.002388, allocations: 173.8 kB / 325.5 MB, free: 2.941 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.432/2.432, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001115/0.001115, allocations: 97.98 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004697, allocations: 14.25 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2238/0.4372, allocations: 134.4 MB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.4375, allocations: 83.95 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07565/0.5132, allocations: 18.54 MB / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5133, allocations: 0 / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.031e-05/0.5134, allocations: 24 kB / 1.048 GB, free: 8.219 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003717/0.5171, allocations: 1.283 MB / 1.05 GB, free: 6.883 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5172, allocations: 8.031 kB / 1.05 GB, free: 6.875 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003961/0.5176, allocations: 148 kB / 1.05 GB, free: 6.723 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.5179, allocations: 130.4 kB / 1.05 GB, free: 6.594 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.5197, allocations: 0.649 MB / 1.05 GB, free: 5.902 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/0.5198, allocations: 78 kB / 1.051 GB, free: 5.828 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.5201, allocations: 99.91 kB / 1.051 GB, free: 5.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.5228, allocations: 0.9787 MB / 1.052 GB, free: 4.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.5228, allocations: 3.984 kB / 1.052 GB, free: 4.699 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.523, allocations: 40 kB / 1.052 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.523, allocations: 24 kB / 1.052 GB, free: 4.637 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.5255, allocations: 0.7143 MB / 1.052 GB, free: 3.926 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007572/0.5331, allocations: 3.411 MB / 1.056 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5869/1.12, allocations: 0.743 MB / 1.056 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-05/1.12, allocations: 10.52 kB / 1.056 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/1.121, allocations: 374.6 kB / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.178e-06/1.121, allocations: 0 / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002934/1.124, allocations: 0.9105 MB / 1.058 GB, free: 144.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/1.125, allocations: 170.1 kB / 1.058 GB, free: 144.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.126, allocations: 0.5902 MB / 1.058 GB, free: 144 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/1.126, allocations: 45.48 kB / 1.058 GB, free: 143.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/1.126, allocations: 465.6 kB / 1.059 GB, free: 143.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/1.126, allocations: 264.1 kB / 1.059 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/1.127, allocations: 12.47 kB / 1.059 GB, free: 143.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/1.127, allocations: 337.2 kB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008733/1.128, allocations: 262.3 kB / 1.06 GB, free: 143.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009791/1.129, allocations: 386.7 kB / 1.06 GB, free: 143.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009144/1.129, allocations: 295.3 kB / 1.06 GB, free: 143.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.129, allocations: 0 / 1.06 GB, free: 143.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00219/1.132, allocations: 0.7805 MB / 1.061 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/1.132, allocations: 456.1 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.132, allocations: 3.031 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/1.132, allocations: 11.3 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.133, allocations: 166.4 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/1.133, allocations: 6 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008109/1.134, allocations: 107.9 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/1.134, allocations: 26.72 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/1.134, allocations: 2.875 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/1.135, allocations: 0.5506 MB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.135, allocations: 6.375 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.135, allocations: 2.812 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009783/1.136, allocations: 138.2 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/1.136, allocations: 6.125 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/1.137, allocations: 86.7 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/1.137, allocations: 24.19 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0006249/1.138, allocations: 319.5 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/1.138, allocations: 81.34 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/1.138, allocations: 98.98 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.138, allocations: 8.562 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/1.138, allocations: 0 / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.138, allocations: 3.656 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/1.143, allocations: 1.707 MB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.143, allocations: 1 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/1.144, allocations: 141.7 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/1.144, allocations: 8.953 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/1.144, allocations: 18.05 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.144, allocations: 7.281 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.144, allocations: 0.875 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/1.148, allocations: 1.132 MB / 1.066 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/1.148, allocations: 176 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/1.148, allocations: 17.33 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/1.149, allocations: 52.94 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.149, allocations: 39.3 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/1.149, allocations: 27.83 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001003/1.15, allocations: 470.2 kB / 1.067 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.02e-07/1.15, allocations: 0 / 1.067 GB, free: 141.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001415/1.152, allocations: 331.6 kB / 1.067 GB, free: 141.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (greEquThr.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.003925/1.156, allocations: 1.715 MB / 1.069 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003158/1.159, allocations: 0.9467 MB / 1.07 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.159, allocations: 0.7188 kB / 1.07 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/1.16, allocations: 342.2 kB / 1.07 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.162, allocations: 186.1 kB / 1.07 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/1.176, allocations: 5.778 MB / 1.076 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007717/1.177, allocations: 1.047 MB / 1.077 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008263/1.178, allocations: 101.9 kB / 1.077 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/1.179, allocations: 395 kB / 1.077 GB, free: 137.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.663e-06/1.179, allocations: 192 / 1.077 GB, free: 137.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05809/1.237, allocations: 15.84 MB / 1.093 GB, free: 135.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/1.237, allocations: 190.3 kB / 1.093 GB, free: 135.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/4.341, allocations: 2.531 kB / 1.093 GB, free: 135.3 MB / 0.698 GB