Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.63/2.63, allocations: 284.9 MB / 292.4 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 184.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.2 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 84.81 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.846e-05, allocations: 3.984 kB / 0.8508 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8676, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/1.215, allocations: 143.8 MB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/1.216, allocations: 75.97 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02939/1.245, allocations: 6.862 MB / 1.111 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.914e-06/1.245, allocations: 1.781 kB / 1.111 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.59e-05/1.245, allocations: 8 kB / 1.111 GB, free: 5.699 MB / 0.7136 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.001376/1.247, allocations: 0.6037 MB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/1.247, allocations: 8.031 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/1.247, allocations: 47.44 kB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/1.248, allocations: 380.2 kB / 1.112 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.248, allocations: 12.22 kB / 1.112 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/1.248, allocations: 24 kB / 1.112 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006019/1.249, allocations: 189.4 kB / 1.112 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/1.249, allocations: 294.1 kB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/1.249, allocations: 4 kB / 1.112 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/1.249, allocations: 0 / 1.112 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/1.249, allocations: 11.94 kB / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/1.252, allocations: 1.181 MB / 1.113 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/1.253, allocations: 225.2 kB / 1.114 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/1.253, allocations: 90.64 kB / 1.114 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/1.253, allocations: 8.188 kB / 1.114 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.253, allocations: 34.75 kB / 1.114 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/1.253, allocations: 0 / 1.114 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0005993/1.254, allocations: 208.9 kB / 1.114 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/1.254, allocations: 162.2 kB / 1.114 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/1.254, allocations: 262.4 kB / 1.114 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/1.254, allocations: 25.7 kB / 1.114 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/1.254, allocations: 216 kB / 1.114 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/1.255, allocations: 78.84 kB / 1.115 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/1.255, allocations: 0 / 1.115 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.255, allocations: 346.8 kB / 1.115 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/1.255, allocations: 64 kB / 1.115 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/1.255, allocations: 139.9 kB / 1.115 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/1.255, allocations: 83.84 kB / 1.115 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.255, allocations: 0 / 1.115 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005879/1.256, allocations: 235.2 kB / 1.115 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.256, allocations: 8 kB / 1.115 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.256, allocations: 0 / 1.115 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.256, allocations: 8.125 kB / 1.115 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/1.257, allocations: 55.91 kB / 1.115 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.257, allocations: 4 kB / 1.115 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/1.257, allocations: 35.78 kB / 1.116 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/1.257, allocations: 15.98 kB / 1.116 GB, free: 428 kB / 0.7136 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.0001292/1.257, allocations: 112.7 kB / 1.116 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004843/1.258, allocations: 195.2 kB / 1.116 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/1.258, allocations: 31.62 kB / 1.116 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/1.258, allocations: 39 kB / 1.116 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.258, allocations: 7.953 kB / 1.116 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.258, allocations: 0 / 1.116 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.258, allocations: 3.984 kB / 1.116 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/1.259, allocations: 357.8 kB / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.259, allocations: 8 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/1.259, allocations: 51.91 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.259, allocations: 0 / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/1.259, allocations: 0 / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.259, allocations: 4 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.259, allocations: 0 / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008118/1.26, allocations: 402.6 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/1.26, allocations: 140.7 kB / 1.117 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/1.26, allocations: 4 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/1.261, allocations: 25.91 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/1.261, allocations: 24 kB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/1.261, allocations: 8 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003371/1.261, allocations: 213.4 kB / 1.117 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/1.261, allocations: 0 / 1.117 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005047/1.262, allocations: 71.64 kB / 1.117 GB, free: 14.67 MB / 0.7292 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.001183/1.263, allocations: 0.9325 MB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005058/1.263, allocations: 168.2 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.263, allocations: 4 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/1.264, allocations: 95.92 kB / 1.118 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/1.264, allocations: 60.86 kB / 1.118 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/1.266, allocations: 0.5559 MB / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/1.267, allocations: 0.8028 MB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002761/1.267, allocations: 45.52 kB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/1.267, allocations: 123.4 kB / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/1.267, allocations: 0 / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05445/1.322, allocations: 5.838 MB / 1.126 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/1.322, allocations: 139.5 kB / 1.126 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/3.965, allocations: 0 / 1.126 GB, free: 5.934 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)