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.335/2.335, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.001404/0.001404, allocations: 186.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 2.01/2.01, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001197/0.001196, allocations: 104.4 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.395e-05/4.411e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2173, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8827/1.1, allocations: 134.4 MB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/1.1, allocations: 81.7 kB / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0775/1.178, allocations: 18.51 MB / 1.04 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.204e-06/1.178, allocations: 0 / 1.04 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.505e-05/1.178, allocations: 24 kB / 1.04 GB, free: 0.9023 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003788/1.182, allocations: 1.126 MB / 1.041 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.182, allocations: 8.031 kB / 1.041 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000426/1.182, allocations: 148.5 kB / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/1.183, allocations: 134.4 kB / 1.041 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/1.185, allocations: 0.6463 MB / 1.042 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/1.185, allocations: 74.94 kB / 1.042 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/1.185, allocations: 108.8 kB / 1.042 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/1.188, allocations: 0.8965 MB / 1.043 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/1.188, allocations: 7.938 kB / 1.043 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/1.188, allocations: 37 kB / 1.043 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/1.188, allocations: 24 kB / 1.043 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/1.19, allocations: 0.5976 MB / 1.044 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00754/1.197, allocations: 3.409 MB / 1.047 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/1.199, allocations: 0.6331 MB / 1.048 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007998/1.2, allocations: 349.7 kB / 1.048 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.075e-05/1.2, allocations: 12.98 kB / 1.048 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008614/1.201, allocations: 312.3 kB / 1.048 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 5.531e-06/1.201, allocations: 3.938 kB / 1.048 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.00161/1.202, allocations: 0.5644 MB / 1.049 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.203, allocations: 171 kB / 1.049 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/1.204, allocations: 0.5848 MB / 1.05 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/1.204, allocations: 44.02 kB / 1.05 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/1.204, allocations: 468 kB / 1.05 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/1.205, allocations: 258.6 kB / 1.05 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/1.205, allocations: 14.62 kB / 1.05 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.205, allocations: 334.8 kB / 1.051 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/1.206, allocations: 200.1 kB / 1.051 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/1.206, allocations: 335.7 kB / 1.051 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/1.207, allocations: 239.1 kB / 1.051 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.207, allocations: 0 / 1.051 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001768/1.209, allocations: 0.6554 MB / 1.052 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002208/1.209, allocations: 455.5 kB / 1.053 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.209, allocations: 0 / 1.053 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.209, allocations: 4 kB / 1.053 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.21, allocations: 170.6 kB / 1.053 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/1.21, allocations: 4.078 kB / 1.053 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/1.211, allocations: 115.2 kB / 1.053 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/1.211, allocations: 34.83 kB / 1.053 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.211, allocations: 4 kB / 1.053 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/1.213, allocations: 0.533 MB / 1.053 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.213, allocations: 0 / 1.053 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.213, allocations: 8.125 kB / 1.053 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/1.214, allocations: 142.7 kB / 1.054 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.214, allocations: 4 kB / 1.054 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/1.215, allocations: 86.03 kB / 1.054 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/1.215, allocations: 23.19 kB / 1.054 GB, free: 5.742 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: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete 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.0002809/1.215, allocations: 152.8 kB / 1.054 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/1.215, allocations: 86.97 kB / 1.054 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/1.216, allocations: 96.45 kB / 1.054 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.216, allocations: 8 kB / 1.054 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/1.216, allocations: 0 / 1.054 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/1.216, allocations: 3.984 kB / 1.054 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/1.219, allocations: 1.595 MB / 1.056 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.219, allocations: 3.938 kB / 1.056 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.22, allocations: 150.5 kB / 1.056 GB, free: 4.141 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/1.221, allocations: 4 kB / 1.056 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/1.221, allocations: 11.06 kB / 1.056 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/1.221, allocations: 0 / 1.056 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.221, allocations: 7.984 kB / 1.056 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/1.223, allocations: 0.98 MB / 1.057 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/1.223, allocations: 166.5 kB / 1.057 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/1.224, allocations: 18.42 kB / 1.057 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/1.224, allocations: 49.28 kB / 1.057 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.224, allocations: 47.28 kB / 1.057 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/1.225, allocations: 15.5 kB / 1.057 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009088/1.225, allocations: 466.6 kB / 1.057 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/1.225, allocations: 0 / 1.057 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001147/1.227, allocations: 333.8 kB / 1.058 GB, free: 2.512 MB / 0.6667 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 () * 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.002658/1.229, allocations: 1.551 MB / 1.059 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002304/1.232, allocations: 0.8577 MB / 1.06 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.232, allocations: 3.984 kB / 1.06 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007241/1.232, allocations: 282.3 kB / 1.06 GB, free: 452 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/1.234, allocations: 194.2 kB / 1.061 GB, free: 308 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/1.238, allocations: 1.453 MB / 1.062 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.24, allocations: 1.046 MB / 1.063 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001328/1.241, allocations: 142.3 kB / 1.063 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/1.242, allocations: 384.1 kB / 1.063 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of SimCode: time 1.613e-06/1.242, allocations: 0 / 1.063 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06097/1.303, allocations: 16.87 MB / 1.08 GB, free: 13.05 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000311/1.303, allocations: 168.8 kB / 1.08 GB, free: 12.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/4.645, allocations: 2.188 kB / 1.08 GB, free: 12.82 MB / 0.698 GB