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.537/1.537, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.0009912/0.0009912, allocations: 183.9 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008435/0.0008435, allocations: 97.53 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 9.281 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2096, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.3855, allocations: 139.5 MB / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.3859, allocations: 83.94 kB / 1.036 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02045/0.4063, allocations: 7.596 MB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.536e-06/0.4064, allocations: 0 / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.541e-05/0.4065, allocations: 16 kB / 1.044 GB, free: 12.38 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.002065/0.4086, allocations: 0.709 MB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.085e-05/0.4087, allocations: 8.031 kB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/0.4089, allocations: 78.47 kB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.4092, allocations: 59.3 kB / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.4103, allocations: 391.6 kB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.4103, allocations: 33 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/0.4104, allocations: 36 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/0.4113, allocations: 430.4 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.4113, allocations: 0 / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.4114, allocations: 16 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.4114, allocations: 8 kB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.4121, allocations: 299.8 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.4145, allocations: 1.367 MB / 1.047 GB, free: 8.773 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/0.4152, allocations: 361.1 kB / 1.048 GB, free: 8.414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.4153, allocations: 8 kB / 1.048 GB, free: 8.406 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.4157, allocations: 193.5 kB / 1.048 GB, free: 8.203 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.637e-06/0.4157, allocations: 0 / 1.048 GB, free: 8.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0009265/0.4167, allocations: 434.6 kB / 1.048 GB, free: 7.773 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.4168, allocations: 140.5 kB / 1.048 GB, free: 7.605 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.4172, allocations: 320.8 kB / 1.049 GB, free: 7.293 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.4173, allocations: 37.69 kB / 1.049 GB, free: 7.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.4175, allocations: 224.2 kB / 1.049 GB, free: 7.023 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4176, allocations: 106.5 kB / 1.049 GB, free: 6.918 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.4176, allocations: 4 kB / 1.049 GB, free: 6.914 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.4178, allocations: 358.7 kB / 1.049 GB, free: 6.555 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.4181, allocations: 112 kB / 1.049 GB, free: 6.445 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.4185, allocations: 191.2 kB / 1.05 GB, free: 6.234 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.4188, allocations: 118.3 kB / 1.05 GB, free: 6.121 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4188, allocations: 3.938 kB / 1.05 GB, free: 6.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007173/0.4195, allocations: 374.1 kB / 1.05 GB, free: 5.746 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.4195, allocations: 8 kB / 1.05 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4196, allocations: 3.938 kB / 1.05 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4196, allocations: 4 kB / 1.05 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.4199, allocations: 63.89 kB / 1.05 GB, free: 5.668 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.4199, allocations: 12.06 kB / 1.05 GB, free: 5.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.4202, allocations: 47.77 kB / 1.05 GB, free: 5.609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.4203, allocations: 12 kB / 1.05 GB, free: 5.598 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.000257/0.4205, allocations: 173.7 kB / 1.05 GB, free: 5.418 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.4206, allocations: 43.53 kB / 1.05 GB, free: 5.375 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.4207, allocations: 48.25 kB / 1.05 GB, free: 5.328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4207, allocations: 0 / 1.05 GB, free: 5.328 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4207, allocations: 0 / 1.05 GB, free: 5.328 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4208, allocations: 7.984 kB / 1.05 GB, free: 5.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.4221, allocations: 0.866 MB / 1.051 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4221, allocations: 0 / 1.051 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.4224, allocations: 55.97 kB / 1.051 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.4224, allocations: 7.938 kB / 1.051 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.4225, allocations: 4 kB / 1.051 GB, free: 4.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4225, allocations: 4 kB / 1.051 GB, free: 4.328 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4225, allocations: 0 / 1.051 GB, free: 4.328 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.4234, allocations: 0.5693 MB / 1.052 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.4236, allocations: 148.6 kB / 1.052 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.4237, allocations: 8 kB / 1.052 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.4239, allocations: 27.97 kB / 1.052 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.424, allocations: 23.97 kB / 1.052 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.4241, allocations: 16.05 kB / 1.052 GB, free: 3.504 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002838/0.4244, allocations: 251.2 kB / 1.052 GB, free: 3.258 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4244, allocations: 0 / 1.052 GB, free: 3.258 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003713/0.4247, allocations: 87.69 kB / 1.052 GB, free: 3.172 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.001251/0.426, allocations: 1.124 MB / 1.054 GB, free: 2.023 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005927/0.4266, allocations: 296.4 kB / 1.054 GB, free: 1.734 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4266, allocations: 0 / 1.054 GB, free: 1.734 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.4269, allocations: 163.9 kB / 1.054 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.4274, allocations: 64.52 kB / 1.054 GB, free: 1.516 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.437/0.8644, allocations: 2.98 MB / 1.057 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.8647, allocations: 0.8204 MB / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.8649, allocations: 42.92 kB / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.8651, allocations: 147.5 kB / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/0.8651, allocations: 0 / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.8859, allocations: 7.441 MB / 1.065 GB, free: 146.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.8861, allocations: 202.7 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.982, allocations: 2.812 kB / 1.065 GB, free: 146.3 MB / 0.698 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)