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.301/2.301, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.00147/0.00147, allocations: 187.3 kB / 315.4 MB, free: 4.016 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.065/2.065, allocations: 205.3 MB / 0.5662 GB, free: 0.5664 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.001113/0.001113, allocations: 91.81 kB / 0.6704 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.207e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2115, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8936/1.105, allocations: 134.6 MB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.106, allocations: 78.58 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07617/1.182, allocations: 18.39 MB / 1.034 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.844e-06/1.182, allocations: 0 / 1.034 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.69e-05/1.182, allocations: 28.12 kB / 1.034 GB, free: 4.832 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.002835/1.185, allocations: 1.124 MB / 1.035 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.185, allocations: 8.031 kB / 1.035 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/1.185, allocations: 138.4 kB / 1.035 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/1.187, allocations: 0.6409 MB / 1.036 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/1.187, allocations: 32 kB / 1.036 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/1.187, allocations: 63.91 kB / 1.036 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/1.189, allocations: 0.5393 MB / 1.036 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/1.191, allocations: 0.7549 MB / 1.037 GB, free: 2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/1.191, allocations: 4 kB / 1.037 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/1.191, allocations: 3.984 kB / 1.037 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/1.191, allocations: 24 kB / 1.037 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007339/1.199, allocations: 3.225 MB / 1.04 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/1.2, allocations: 0.6035 MB / 1.041 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/1.201, allocations: 327.3 kB / 1.041 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/1.201, allocations: 8.781 kB / 1.041 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008204/1.202, allocations: 293.3 kB / 1.041 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 6.953e-06/1.202, allocations: 0 / 1.041 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.001511/1.204, allocations: 0.5268 MB / 1.042 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.204, allocations: 167 kB / 1.042 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/1.205, allocations: 495.9 kB / 1.042 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/1.205, allocations: 33.7 kB / 1.042 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/1.206, allocations: 469.8 kB / 1.043 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003653/1.206, allocations: 256.1 kB / 1.043 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/1.206, allocations: 0 / 1.043 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.206, allocations: 336.3 kB / 1.043 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/1.207, allocations: 181.4 kB / 1.044 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008357/1.208, allocations: 311.5 kB / 1.044 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/1.208, allocations: 222.9 kB / 1.044 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.208, allocations: 4 kB / 1.044 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001727/1.21, allocations: 0.5932 MB / 1.045 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002511/1.21, allocations: 463.3 kB / 1.045 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.211, allocations: 0 / 1.045 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/1.211, allocations: 8 kB / 1.045 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/1.212, allocations: 171.2 kB / 1.045 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.212, allocations: 4 kB / 1.045 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/1.213, allocations: 83.48 kB / 1.045 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.213, allocations: 30.42 kB / 1.045 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.213, allocations: 6.188 kB / 1.045 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/1.214, allocations: 470 kB / 1.046 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.214, allocations: 0 / 1.046 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.214, allocations: 7.938 kB / 1.046 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.216, allocations: 139 kB / 1.046 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.216, allocations: 4 kB / 1.046 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/1.216, allocations: 67.53 kB / 1.046 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.709e-05/1.216, allocations: 22.88 kB / 1.046 GB, free: 10.36 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.0003247/1.217, allocations: 118.5 kB / 1.046 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001448/1.218, allocations: 0.5093 MB / 1.047 GB, free: 9.852 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/1.218, allocations: 78.97 kB / 1.047 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/1.219, allocations: 87.5 kB / 1.047 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.219, allocations: 12 kB / 1.047 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.219, allocations: 0 / 1.047 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/1.219, allocations: 3.984 kB / 1.047 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/1.222, allocations: 1.428 MB / 1.048 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.222, allocations: 3.938 kB / 1.048 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/1.224, allocations: 147.8 kB / 1.048 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/1.224, allocations: 4 kB / 1.048 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/1.224, allocations: 7.875 kB / 1.048 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/1.224, allocations: 0 / 1.048 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.224, allocations: 3.938 kB / 1.048 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/1.226, allocations: 0.9129 MB / 1.049 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/1.226, allocations: 158.5 kB / 1.049 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/1.227, allocations: 8 kB / 1.049 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/1.227, allocations: 39.95 kB / 1.05 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.227, allocations: 36.55 kB / 1.05 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/1.228, allocations: 22.67 kB / 1.05 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007411/1.228, allocations: 383.9 kB / 1.05 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.82e-07/1.228, allocations: 0 / 1.05 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001385/1.23, allocations: 302.2 kB / 1.05 GB, free: 7 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.002556/1.232, allocations: 1.47 MB / 1.052 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002194/1.235, allocations: 0.8041 MB / 1.052 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.235, allocations: 4 kB / 1.052 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/1.235, allocations: 273 kB / 1.053 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.237, allocations: 170.9 kB / 1.053 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/1.241, allocations: 1.368 MB / 1.054 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008523/1.242, allocations: 1.05 MB / 1.055 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001094/1.243, allocations: 138 kB / 1.055 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.244, allocations: 374.2 kB / 1.056 GB, free: 2.352 MB / 0.6667 GB Notification: Performance of SimCode: time 1.643e-06/1.244, allocations: 0 / 1.056 GB, free: 2.352 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07881/1.323, allocations: 15.28 MB / 1.071 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003609/1.323, allocations: 168.3 kB / 1.071 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/4.432, allocations: 0 / 1.071 GB, free: 2.965 MB / 0.6823 GB