Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001204/0.001204, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.000827/0.000827, allocations: 92.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.094e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2047, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7607/0.9654, allocations: 139.4 MB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.9657, allocations: 79.64 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01948/0.9851, allocations: 7.575 MB / 1.036 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9852, allocations: 0 / 1.036 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.144e-05/0.9852, allocations: 8 kB / 1.036 GB, free: 5.004 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.0009128/0.9861, allocations: 0.6458 MB / 1.036 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.9862, allocations: 8.031 kB / 1.036 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.9863, allocations: 72.47 kB / 1.036 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.9864, allocations: 63.3 kB / 1.036 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.9869, allocations: 403.9 kB / 1.037 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.987, allocations: 27.34 kB / 1.037 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.987, allocations: 41.44 kB / 1.037 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.9877, allocations: 394.3 kB / 1.037 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.9877, allocations: 0 / 1.037 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.9877, allocations: 13.88 kB / 1.037 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.9877, allocations: 8 kB / 1.037 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.9882, allocations: 248 kB / 1.037 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.9901, allocations: 1.383 MB / 1.039 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.9907, allocations: 314.5 kB / 1.039 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.9909, allocations: 120.8 kB / 1.039 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.991, allocations: 8 kB / 1.039 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.9913, allocations: 174.4 kB / 1.039 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.9913, allocations: 0 / 1.039 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0004928/0.9918, allocations: 280 kB / 1.04 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.9919, allocations: 135.6 kB / 1.04 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.9922, allocations: 307 kB / 1.04 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.9923, allocations: 40.62 kB / 1.04 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.9924, allocations: 235.4 kB / 1.04 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/0.9925, allocations: 101.7 kB / 1.04 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.9925, allocations: 11 kB / 1.04 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.9927, allocations: 348.3 kB / 1.041 GB, free: 484 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.9929, allocations: 95.17 kB / 1.041 GB, free: 428 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.9931, allocations: 167.4 kB / 1.041 GB, free: 284 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.9933, allocations: 100.2 kB / 1.041 GB, free: 224 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.9933, allocations: 4 kB / 1.041 GB, free: 220 kB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004996/0.9938, allocations: 321.8 kB / 1.041 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.9938, allocations: 10.16 kB / 1.041 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9939, allocations: 4 kB / 1.041 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9939, allocations: 4 kB / 1.041 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.9942, allocations: 71.33 kB / 1.041 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.9942, allocations: 0 / 1.041 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.9944, allocations: 51.55 kB / 1.041 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.9945, allocations: 10.88 kB / 1.041 GB, free: 15.84 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: 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.0001284/0.9946, allocations: 129.7 kB / 1.042 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.9947, allocations: 47.45 kB / 1.042 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.704e-05/0.9948, allocations: 43.67 kB / 1.042 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.9948, allocations: 7.984 kB / 1.042 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.9948, allocations: 0 / 1.042 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.9948, allocations: 4 kB / 1.042 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.9959, allocations: 0.8394 MB / 1.043 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9959, allocations: 0 / 1.043 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.9962, allocations: 51.91 kB / 1.043 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.9962, allocations: 0 / 1.043 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.9962, allocations: 11.48 kB / 1.043 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.9962, allocations: 0 / 1.043 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9962, allocations: 0 / 1.043 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.9969, allocations: 0.5208 MB / 1.043 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.997, allocations: 144 kB / 1.043 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.9971, allocations: 7.125 kB / 1.043 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.9973, allocations: 27.34 kB / 1.043 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.9974, allocations: 31.39 kB / 1.043 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.9974, allocations: 15.25 kB / 1.043 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002749/0.9977, allocations: 241 kB / 1.044 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9977, allocations: 0 / 1.044 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003819/0.9981, allocations: 82.09 kB / 1.044 GB, free: 14.02 MB / 0.6667 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.000973/0.9991, allocations: 1.066 MB / 1.045 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.9995, allocations: 246.4 kB / 1.045 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9995, allocations: 0 / 1.045 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.9997, allocations: 136.2 kB / 1.045 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/1, allocations: 69.16 kB / 1.045 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/1.002, allocations: 0.6529 MB / 1.046 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/1.002, allocations: 0.8269 MB / 1.047 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001899/1.002, allocations: 43.25 kB / 1.047 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/1.002, allocations: 148 kB / 1.047 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of SimCode: time 5.01e-07/1.002, allocations: 0 / 1.047 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/1.024, allocations: 7.38 MB / 1.054 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.024, allocations: 167.7 kB / 1.054 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/3.127, allocations: 4.062 kB / 1.054 GB, free: 3.738 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)