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.277/2.277, allocations: 248.5 MB / 261.1 MB, free: 5.922 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.001494/0.001494, allocations: 185.7 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.022/2.022, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001049/0.001049, allocations: 94.42 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.506e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2395, allocations: 106.2 MB / 0.8907 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9352/1.175, allocations: 138.2 MB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.175, allocations: 78.58 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03029/1.205, allocations: 6.958 MB / 1.033 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/1.206, allocations: 4 kB / 1.033 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.413e-05/1.206, allocations: 8 kB / 1.033 GB, free: 7.285 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.001364/1.207, allocations: 0.5937 MB / 1.033 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/1.207, allocations: 8.031 kB / 1.033 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/1.207, allocations: 64.91 kB / 1.033 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/1.207, allocations: 51.39 kB / 1.033 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009404/1.208, allocations: 379.5 kB / 1.034 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/1.208, allocations: 20.28 kB / 1.034 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/1.208, allocations: 30.31 kB / 1.034 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/1.209, allocations: 343.2 kB / 1.034 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/1.209, allocations: 0 / 1.034 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/1.209, allocations: 13.94 kB / 1.034 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/1.209, allocations: 8.219 kB / 1.034 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/1.21, allocations: 213.1 kB / 1.034 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/1.213, allocations: 1.248 MB / 1.035 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/1.213, allocations: 235.3 kB / 1.036 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/1.214, allocations: 100 kB / 1.036 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/1.214, allocations: 192 / 1.036 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/1.214, allocations: 46.33 kB / 1.036 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 2.465e-06/1.214, allocations: 0 / 1.036 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.0006648/1.214, allocations: 222.5 kB / 1.036 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/1.215, allocations: 162.2 kB / 1.036 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/1.215, allocations: 301.7 kB / 1.036 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/1.215, allocations: 32.83 kB / 1.036 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/1.215, allocations: 212.7 kB / 1.037 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/1.216, allocations: 73.98 kB / 1.037 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/1.216, allocations: 6.938 kB / 1.037 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.216, allocations: 348.8 kB / 1.037 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/1.216, allocations: 71.88 kB / 1.037 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/1.216, allocations: 134.4 kB / 1.037 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/1.217, allocations: 90.03 kB / 1.037 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.217, allocations: 0 / 1.037 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006463/1.217, allocations: 251.2 kB / 1.038 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.217, allocations: 8 kB / 1.038 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.217, allocations: 3.953 kB / 1.038 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.217, allocations: 4.125 kB / 1.038 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/1.218, allocations: 59.47 kB / 1.038 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.218, allocations: 4 kB / 1.038 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/1.218, allocations: 51.03 kB / 1.038 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/1.218, allocations: 4 kB / 1.038 GB, free: 2.672 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.0001493/1.219, allocations: 123.9 kB / 1.038 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/1.219, allocations: 31.62 kB / 1.038 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/1.219, allocations: 39.94 kB / 1.038 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.219, allocations: 7.953 kB / 1.038 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.219, allocations: 0 / 1.038 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.219, allocations: 3.984 kB / 1.038 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/1.22, allocations: 410.7 kB / 1.038 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.22, allocations: 3.938 kB / 1.038 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/1.22, allocations: 55.34 kB / 1.038 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/1.22, allocations: 0 / 1.038 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/1.22, allocations: 3.062 kB / 1.038 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.22, allocations: 4 kB / 1.038 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.22, allocations: 3.953 kB / 1.038 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/1.221, allocations: 427.7 kB / 1.039 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/1.221, allocations: 138.3 kB / 1.039 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/1.221, allocations: 4 kB / 1.039 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/1.222, allocations: 31.97 kB / 1.039 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.222, allocations: 23.8 kB / 1.039 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/1.222, allocations: 4 kB / 1.039 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004094/1.222, allocations: 239.9 kB / 1.039 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.222, allocations: 0 / 1.039 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004931/1.223, allocations: 82.75 kB / 1.039 GB, free: 1.289 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.001277/1.224, allocations: 0.9642 MB / 1.04 GB, free: 420 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005696/1.225, allocations: 190.8 kB / 1.04 GB, free: 292 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.225, allocations: 320 / 1.04 GB, free: 292 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/1.225, allocations: 103.4 kB / 1.041 GB, free: 220 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/1.226, allocations: 67.05 kB / 1.041 GB, free: 168 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/1.228, allocations: 0.5736 MB / 1.041 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/1.228, allocations: 0.7992 MB / 1.042 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002828/1.229, allocations: 38.97 kB / 1.042 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/1.229, allocations: 119.7 kB / 1.042 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of SimCode: time 1.122e-06/1.229, allocations: 3.938 kB / 1.042 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03713/1.266, allocations: 6.602 MB / 1.049 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/1.266, allocations: 155.3 kB / 1.049 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/3.931, allocations: 0 / 1.049 GB, free: 8.035 MB / 0.6667 GB