Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001118/0.001118, allocations: 185 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0008572/0.0008572, allocations: 89.78 kB / 0.7509 GB, free: 63.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 12 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.27, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7348/1.005, allocations: 145.7 MB / 1.131 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.005, allocations: 91.14 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01717/1.022, allocations: 6.927 MB / 1.138 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.776e-06/1.022, allocations: 4 kB / 1.138 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.877e-05/1.022, allocations: 11.94 kB / 1.138 GB, free: 25.45 MB / 0.7292 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.000866/1.023, allocations: 0.6554 MB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.023, allocations: 13.28 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.415e-05/1.023, allocations: 65.84 kB / 1.138 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/1.024, allocations: 49.5 kB / 1.138 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/1.024, allocations: 383.2 kB / 1.139 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/1.024, allocations: 25.36 kB / 1.139 GB, free: 24.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/1.024, allocations: 24 kB / 1.139 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/1.025, allocations: 364.6 kB / 1.139 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.025, allocations: 5.312 kB / 1.139 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/1.025, allocations: 12.75 kB / 1.139 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/1.025, allocations: 8 kB / 1.139 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/1.025, allocations: 248.2 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/1.027, allocations: 1.25 MB / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/1.027, allocations: 281.3 kB / 1.141 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/1.027, allocations: 5.062 kB / 1.141 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/1.027, allocations: 38.75 kB / 1.141 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/1.027, allocations: 0 / 1.141 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.000675/1.028, allocations: 347.5 kB / 1.141 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.028, allocations: 158.9 kB / 1.141 GB, free: 21.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/1.028, allocations: 309.6 kB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/1.028, allocations: 34.45 kB / 1.142 GB, free: 21.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/1.029, allocations: 216.6 kB / 1.142 GB, free: 21.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/1.029, allocations: 69.86 kB / 1.142 GB, free: 21.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/1.029, allocations: 4 kB / 1.142 GB, free: 21.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/1.029, allocations: 346 kB / 1.142 GB, free: 20.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/1.029, allocations: 94.64 kB / 1.142 GB, free: 20.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/1.029, allocations: 170.6 kB / 1.143 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/1.029, allocations: 105.8 kB / 1.143 GB, free: 20.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.029, allocations: 0 / 1.143 GB, free: 20.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004597/1.03, allocations: 299.1 kB / 1.143 GB, free: 20.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.03, allocations: 10.34 kB / 1.143 GB, free: 20.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.03, allocations: 1.328 kB / 1.143 GB, free: 20.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.03, allocations: 4 kB / 1.143 GB, free: 20.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/1.03, allocations: 51.67 kB / 1.143 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.03, allocations: 9.219 kB / 1.143 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/1.03, allocations: 46.16 kB / 1.143 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/1.03, allocations: 9.797 kB / 1.143 GB, free: 20.07 MB / 0.7292 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 () * Number of clocked 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.0001445/1.031, allocations: 162.4 kB / 1.143 GB, free: 19.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/1.031, allocations: 36.23 kB / 1.143 GB, free: 19.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-05/1.031, allocations: 39.89 kB / 1.143 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.031, allocations: 10.91 kB / 1.143 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.031, allocations: 0.7969 kB / 1.143 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.031, allocations: 5.125 kB / 1.143 GB, free: 19.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/1.031, allocations: 415.8 kB / 1.144 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/1.031, allocations: 4.656 kB / 1.144 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/1.031, allocations: 47.11 kB / 1.144 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.031, allocations: 0 / 1.144 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/1.032, allocations: 4.609 kB / 1.144 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/1.032, allocations: 7 kB / 1.144 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.032, allocations: 4 kB / 1.144 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/1.032, allocations: 481.2 kB / 1.144 GB, free: 18.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/1.032, allocations: 133.6 kB / 1.144 GB, free: 18.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/1.032, allocations: 8.797 kB / 1.144 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/1.033, allocations: 26.14 kB / 1.144 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/1.033, allocations: 28.27 kB / 1.144 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/1.033, allocations: 4.797 kB / 1.144 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002179/1.033, allocations: 242.6 kB / 1.145 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.033, allocations: 4.781 kB / 1.145 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003085/1.033, allocations: 75.69 kB / 1.145 GB, free: 18.46 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) * Number of clocked states: 0 () * 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.0008725/1.034, allocations: 1.019 MB / 1.146 GB, free: 17.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004423/1.035, allocations: 227.9 kB / 1.146 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.035, allocations: 4.641 kB / 1.146 GB, free: 17.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/1.035, allocations: 120.7 kB / 1.146 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/1.035, allocations: 69.55 kB / 1.146 GB, free: 17.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/1.038, allocations: 2.731 MB / 1.149 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/1.039, allocations: 0.8001 MB / 1.15 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001784/1.039, allocations: 44.45 kB / 1.15 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/1.039, allocations: 123.8 kB / 1.15 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/1.039, allocations: 0 / 1.15 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/1.059, allocations: 6.696 MB / 1.156 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/1.06, allocations: 179.7 kB / 1.156 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/3.297, allocations: 0 / 1.156 GB, free: 9.496 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresis.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)