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.254/2.254, allocations: 248.7 MB / 256.2 MB, free: 7.113 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.001555/0.001555, allocations: 174.3 kB / 315.4 MB, free: 4.008 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.148/2.148, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 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.001617/0.001616, allocations: 90.52 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.367e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2221, allocations: 106.3 MB / 0.8841 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.943/1.165, allocations: 139.5 MB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.166, allocations: 82.02 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03608/1.202, allocations: 7.512 MB / 1.028 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.264e-06/1.202, allocations: 0 / 1.028 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.414e-05/1.202, allocations: 8.188 kB / 1.028 GB, free: 9.211 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001548/1.203, allocations: 0.6458 MB / 1.028 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.203, allocations: 16.03 kB / 1.028 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/1.204, allocations: 59.28 kB / 1.028 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009418/1.205, allocations: 401.8 kB / 1.029 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/1.205, allocations: 12 kB / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/1.205, allocations: 20 kB / 1.029 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007282/1.206, allocations: 229.9 kB / 1.029 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008944/1.206, allocations: 338.1 kB / 1.029 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.207, allocations: 3.938 kB / 1.029 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/1.207, allocations: 4.75 kB / 1.029 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/1.207, allocations: 11.95 kB / 1.029 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/1.21, allocations: 1.299 MB / 1.031 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/1.211, allocations: 291.2 kB / 1.031 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/1.211, allocations: 113.5 kB / 1.031 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/1.211, allocations: 8 kB / 1.031 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004122/1.211, allocations: 163.6 kB / 1.031 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.617e-06/1.211, allocations: 0 / 1.031 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0007574/1.212, allocations: 262.5 kB / 1.032 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/1.212, allocations: 135.7 kB / 1.032 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/1.213, allocations: 271.5 kB / 1.032 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/1.213, allocations: 29.69 kB / 1.032 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/1.213, allocations: 231.3 kB / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/1.213, allocations: 105.3 kB / 1.032 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/1.213, allocations: 0 / 1.032 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.213, allocations: 344.5 kB / 1.033 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/1.214, allocations: 89.42 kB / 1.033 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/1.214, allocations: 157.2 kB / 1.033 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/1.214, allocations: 98.38 kB / 1.033 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.214, allocations: 0 / 1.033 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007851/1.215, allocations: 299.4 kB / 1.033 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.215, allocations: 4 kB / 1.033 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.215, allocations: 0 / 1.033 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.215, allocations: 8.125 kB / 1.033 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/1.216, allocations: 71.28 kB / 1.033 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.216, allocations: 7.969 kB / 1.033 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/1.216, allocations: 43.77 kB / 1.033 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/1.216, allocations: 8 kB / 1.033 GB, free: 4.324 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: 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 () * 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.0001714/1.217, allocations: 120.1 kB / 1.033 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006855/1.217, allocations: 266 kB / 1.034 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/1.217, allocations: 39.09 kB / 1.034 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/1.218, allocations: 41.69 kB / 1.034 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/1.218, allocations: 4 kB / 1.034 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/1.218, allocations: 0 / 1.034 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.218, allocations: 3.984 kB / 1.034 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/1.219, allocations: 0.7476 MB / 1.035 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.219, allocations: 48 / 1.035 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/1.22, allocations: 59.89 kB / 1.035 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.22, allocations: 0 / 1.035 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/1.22, allocations: 3.25 kB / 1.035 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.22, allocations: 4 kB / 1.035 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.22, allocations: 3.984 kB / 1.035 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/1.221, allocations: 495.7 kB / 1.035 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/1.221, allocations: 145 kB / 1.035 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/1.221, allocations: 0 / 1.035 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/1.222, allocations: 19.98 kB / 1.035 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.222, allocations: 31.39 kB / 1.035 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/1.222, allocations: 15.31 kB / 1.035 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003831/1.222, allocations: 213.2 kB / 1.035 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.222, allocations: 0 / 1.035 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005985/1.223, allocations: 79.69 kB / 1.036 GB, free: 2.43 MB / 0.6511 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) * 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.001468/1.224, allocations: 1.03 MB / 1.037 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000654/1.225, allocations: 228.6 kB / 1.037 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.225, allocations: 3.938 kB / 1.037 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/1.225, allocations: 117.9 kB / 1.037 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/1.226, allocations: 64.59 kB / 1.037 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/1.228, allocations: 0.6283 MB / 1.038 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/1.229, allocations: 0.8269 MB / 1.038 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003671/1.229, allocations: 43.25 kB / 1.038 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/1.23, allocations: 144.3 kB / 1.039 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of SimCode: time 3.887e-06/1.23, allocations: 0 / 1.039 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/1.276, allocations: 6.604 MB / 1.045 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/1.277, allocations: 154.7 kB / 1.045 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.989, allocations: 0 / 1.045 GB, free: 8.926 MB / 0.6667 GB