Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.Examples.PIDHysteresis,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis",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.267/2.267, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001535/0.001535, allocations: 183.4 kB / 315.4 MB, free: 3.992 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.18/2.18, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001222/0.001221, allocations: 86.55 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.834e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1931, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9153/1.108, allocations: 138.5 MB / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.109, allocations: 82.14 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02878/1.138, allocations: 6.896 MB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.423e-06/1.138, allocations: 0 / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.799e-05/1.138, allocations: 11.98 kB / 1.026 GB, free: 10.93 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001241/1.139, allocations: 0.5947 MB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.139, allocations: 8.031 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/1.139, allocations: 51.39 kB / 1.027 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/1.14, allocations: 378 kB / 1.027 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/1.14, allocations: 15.81 kB / 1.027 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/1.14, allocations: 16 kB / 1.027 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005633/1.141, allocations: 189.5 kB / 1.027 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/1.142, allocations: 293.4 kB / 1.028 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/1.142, allocations: 224 / 1.028 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/1.142, allocations: 7.984 kB / 1.028 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/1.142, allocations: 15.89 kB / 1.028 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/1.145, allocations: 1.17 MB / 1.029 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/1.146, allocations: 225.3 kB / 1.029 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/1.146, allocations: 95.67 kB / 1.029 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/1.146, allocations: 4.188 kB / 1.029 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.146, allocations: 38.62 kB / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 2.855e-06/1.146, allocations: 0 / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.0006096/1.147, allocations: 209.3 kB / 1.029 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.147, allocations: 158.2 kB / 1.029 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/1.147, allocations: 270.3 kB / 1.03 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/1.147, allocations: 25.7 kB / 1.03 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/1.148, allocations: 213.1 kB / 1.03 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.564e-05/1.148, allocations: 77.28 kB / 1.03 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/1.148, allocations: 0 / 1.03 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.148, allocations: 349.1 kB / 1.03 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/1.148, allocations: 75.25 kB / 1.03 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/1.148, allocations: 129.4 kB / 1.031 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/1.149, allocations: 74.86 kB / 1.031 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.149, allocations: 4 kB / 1.031 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006268/1.149, allocations: 229.8 kB / 1.031 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.149, allocations: 8 kB / 1.031 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.149, allocations: 0 / 1.031 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/1.149, allocations: 7.984 kB / 1.031 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/1.15, allocations: 55.36 kB / 1.031 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/1.15, allocations: 11.94 kB / 1.031 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/1.15, allocations: 31.83 kB / 1.031 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/1.15, allocations: 8 kB / 1.031 GB, free: 6.562 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001427/1.15, allocations: 112.9 kB / 1.031 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004986/1.151, allocations: 195.6 kB / 1.031 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/1.151, allocations: 35.53 kB / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/1.151, allocations: 47.55 kB / 1.031 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.151, allocations: 0 / 1.031 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.151, allocations: 4 kB / 1.031 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.151, allocations: 3.984 kB / 1.031 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/1.152, allocations: 368.8 kB / 1.032 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.152, allocations: 0 / 1.032 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/1.152, allocations: 51.91 kB / 1.032 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.152, allocations: 0 / 1.032 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/1.152, allocations: 0 / 1.032 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/1.152, allocations: 4 kB / 1.032 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.152, allocations: 3.953 kB / 1.032 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/1.153, allocations: 407.1 kB / 1.032 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/1.154, allocations: 125.9 kB / 1.032 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/1.154, allocations: 7.875 kB / 1.032 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/1.154, allocations: 24.05 kB / 1.032 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/1.154, allocations: 19.97 kB / 1.032 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/1.154, allocations: 14.94 kB / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000337/1.155, allocations: 208.7 kB / 1.033 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.155, allocations: 0 / 1.033 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005484/1.155, allocations: 67.69 kB / 1.033 GB, free: 5.121 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.001247/1.156, allocations: 0.9381 MB / 1.034 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005291/1.157, allocations: 179.2 kB / 1.034 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/1.157, allocations: 0 / 1.034 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/1.157, allocations: 95.05 kB / 1.034 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/1.158, allocations: 61.27 kB / 1.034 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/1.16, allocations: 0.5657 MB / 1.034 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/1.161, allocations: 0.799 MB / 1.035 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003136/1.161, allocations: 35.27 kB / 1.035 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/1.161, allocations: 124.3 kB / 1.035 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of SimCode: time 3.035e-06/1.161, allocations: 0 / 1.035 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05407/1.215, allocations: 5.854 MB / 1.041 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/1.216, allocations: 137.6 kB / 1.041 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.897, allocations: 4.031 kB / 1.041 GB, free: 12.6 MB / 0.6667 GB