Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",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.137/2.137, allocations: 251 MB / 265.9 MB, free: 11.69 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.001551/0.001551, allocations: 177.6 kB / 325.5 MB, free: 2.898 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.416/2.416, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001202/0.001201, allocations: 96.58 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006363, allocations: 12.75 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2085, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2982/0.5067, allocations: 139.3 MB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.5071, allocations: 87.95 kB / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03195/0.5391, allocations: 7.588 MB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5391, allocations: 224 / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.768e-05/0.5392, allocations: 8 kB / 1.042 GB, free: 14.29 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001673/0.5409, allocations: 0.715 MB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.5409, allocations: 12.03 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.5411, allocations: 74.52 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.5413, allocations: 55.3 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/0.5422, allocations: 403.6 kB / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.5422, allocations: 29 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.456e-05/0.5423, allocations: 36 kB / 1.044 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.5435, allocations: 422.4 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.5435, allocations: 0 / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.5436, allocations: 16 kB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.5436, allocations: 12 kB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009982/0.5446, allocations: 303.8 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.5477, allocations: 1.375 MB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.549, allocations: 354.6 kB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.5491, allocations: 4 kB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006089/0.5497, allocations: 185.5 kB / 1.046 GB, free: 10.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.998e-06/0.5497, allocations: 4 kB / 1.046 GB, free: 10.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001509/0.5513, allocations: 434.5 kB / 1.047 GB, free: 9.668 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.5514, allocations: 137.1 kB / 1.047 GB, free: 9.504 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.552, allocations: 320.8 kB / 1.047 GB, free: 9.191 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.5521, allocations: 37.7 kB / 1.047 GB, free: 9.148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.5523, allocations: 232.2 kB / 1.047 GB, free: 8.914 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.5525, allocations: 98.55 kB / 1.047 GB, free: 8.816 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.5525, allocations: 12 kB / 1.047 GB, free: 8.805 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5527, allocations: 350.8 kB / 1.048 GB, free: 8.453 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.5531, allocations: 116 kB / 1.048 GB, free: 8.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.5537, allocations: 183.1 kB / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.5542, allocations: 134.2 kB / 1.048 GB, free: 8.008 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.5542, allocations: 0 / 1.048 GB, free: 8.008 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001173/0.5554, allocations: 374.1 kB / 1.049 GB, free: 7.637 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.5554, allocations: 5.719 kB / 1.049 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5554, allocations: 4 kB / 1.049 GB, free: 7.629 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.5555, allocations: 4.031 kB / 1.049 GB, free: 7.625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.556, allocations: 72.03 kB / 1.049 GB, free: 7.555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.556, allocations: 4 kB / 1.049 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.5565, allocations: 51.66 kB / 1.049 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.5566, allocations: 12 kB / 1.049 GB, free: 7.488 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.000349/0.5569, allocations: 173.7 kB / 1.049 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.557, allocations: 39.53 kB / 1.049 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.5572, allocations: 48.23 kB / 1.049 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.5572, allocations: 4 kB / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5572, allocations: 0 / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.5572, allocations: 3.938 kB / 1.049 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.5592, allocations: 0.8739 MB / 1.05 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.5593, allocations: 0 / 1.05 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/0.5598, allocations: 51.91 kB / 1.05 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.5598, allocations: 0 / 1.05 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.5599, allocations: 15.98 kB / 1.05 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.5599, allocations: 3.984 kB / 1.05 GB, free: 6.215 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5599, allocations: 0 / 1.05 GB, free: 6.215 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.5614, allocations: 0.5731 MB / 1.05 GB, free: 5.625 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.5617, allocations: 148.6 kB / 1.051 GB, free: 5.461 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/0.5618, allocations: 4 kB / 1.051 GB, free: 5.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.5622, allocations: 32.05 kB / 1.051 GB, free: 5.426 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5624, allocations: 31.89 kB / 1.051 GB, free: 5.395 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.5624, allocations: 8 kB / 1.051 GB, free: 5.387 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004249/0.5628, allocations: 247.2 kB / 1.051 GB, free: 5.145 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5629, allocations: 0 / 1.051 GB, free: 5.145 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005371/0.5634, allocations: 91.69 kB / 1.051 GB, free: 5.055 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.002003/0.5654, allocations: 1.12 MB / 1.052 GB, free: 3.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.5665, allocations: 292.3 kB / 1.052 GB, free: 3.625 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.5666, allocations: 320 / 1.052 GB, free: 3.625 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.5671, allocations: 163.7 kB / 1.052 GB, free: 3.465 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.5678, allocations: 73.52 kB / 1.053 GB, free: 3.395 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.5742, allocations: 2.971 MB / 1.055 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5831/1.157, allocations: 0.8179 MB / 1.056 GB, free: 149.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003707/1.158, allocations: 44.14 kB / 1.056 GB, free: 149.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/1.158, allocations: 140.2 kB / 1.056 GB, free: 149.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/1.158, allocations: 0 / 1.056 GB, free: 149.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0434/1.202, allocations: 7.452 MB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/1.202, allocations: 186.6 kB / 1.064 GB, free: 148.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/4.246, allocations: 0 / 1.064 GB, free: 148.6 MB / 0.698 GB