Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.001113/0.001113, allocations: 176.5 kB / 372 MB, free: 10.28 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.556/1.556, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007359/0.0007357, allocations: 90.25 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 14.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2412, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003088/0.2444, allocations: 2.516 MB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.2462, allocations: 0.8973 MB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.2465, allocations: 11.94 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.2467, allocations: 43.58 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.2469, allocations: 63.42 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.2473, allocations: 165.4 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.2477, allocations: 427.3 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.248, allocations: 145 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.2481, allocations: 131.2 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2483, allocations: 127.2 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.2483, allocations: 12 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.399e-05/0.2484, allocations: 8 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.2484, allocations: 51.7 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.2485, allocations: 93.45 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.2488, allocations: 371.3 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2488, allocations: 0 / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2488, allocations: 0 / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2488, allocations: 4 kB / 0.9845 GB, free: 22.52 MB / 0.6198 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.0009096/0.2497, allocations: 0.6427 MB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2498, allocations: 16.02 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.2499, allocations: 58.55 kB / 0.9852 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.2499, allocations: 47.44 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.2504, allocations: 387.2 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.2505, allocations: 24.66 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.2505, allocations: 28 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.251, allocations: 341.1 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2511, allocations: 3.984 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.2511, allocations: 16 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2511, allocations: 8 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.2516, allocations: 222.1 kB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.2528, allocations: 1.186 MB / 0.9874 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.2534, allocations: 245 kB / 0.9877 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.2536, allocations: 117.2 kB / 0.9878 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2536, allocations: 4.172 kB / 0.9878 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2536, allocations: 42.73 kB / 0.9878 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.2537, allocations: 0 / 0.9878 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0006016/0.2543, allocations: 293 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2543, allocations: 114.8 kB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.2546, allocations: 333.6 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2546, allocations: 29.7 kB / 0.9886 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.2547, allocations: 224.2 kB / 0.9888 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.2548, allocations: 74.91 kB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.2548, allocations: 4 kB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.402e-05/0.2549, allocations: 346.8 kB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.2551, allocations: 79.97 kB / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.2553, allocations: 139.7 kB / 0.9894 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.2554, allocations: 91.95 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2555, allocations: 0 / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004292/0.2559, allocations: 285.7 kB / 0.9897 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2559, allocations: 4 kB / 0.9897 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2559, allocations: 0 / 0.9897 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.256, allocations: 4 kB / 0.9898 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.2562, allocations: 55.91 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2562, allocations: 3.953 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.2564, allocations: 55.78 kB / 0.9899 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2564, allocations: 16 kB / 0.9899 GB, free: 16.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 31 * 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.0001492/0.2566, allocations: 153.8 kB / 0.99 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.2566, allocations: 31.62 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.93e-05/0.2567, allocations: 39.3 kB / 0.9901 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2567, allocations: 4 kB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2567, allocations: 0 / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2567, allocations: 15.92 kB / 0.9901 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.2571, allocations: 401.2 kB / 0.9905 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2571, allocations: 0 / 0.9905 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.2573, allocations: 43.92 kB / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2573, allocations: 0 / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2573, allocations: 8 kB / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2573, allocations: 3.984 kB / 0.9905 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2574, allocations: 0 / 0.9905 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.2579, allocations: 429.6 kB / 0.991 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.258, allocations: 132.7 kB / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.2581, allocations: 8 kB / 0.9911 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.2583, allocations: 24.03 kB / 0.9911 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.2583, allocations: 19.97 kB / 0.9911 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2583, allocations: 4 kB / 0.9911 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001933/0.2585, allocations: 235.2 kB / 0.9914 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2586, allocations: 0 / 0.9914 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000291/0.2588, allocations: 67.75 kB / 0.9914 GB, free: 15.06 MB / 0.6198 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.0009331/0.2598, allocations: 0.9718 MB / 0.9924 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.2603, allocations: 206.3 kB / 0.9926 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2603, allocations: 0 / 0.9926 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.2605, allocations: 99.91 kB / 0.9927 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.2611, allocations: 70.38 kB / 0.9927 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.2641, allocations: 2.03 MB / 0.9947 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.2644, allocations: 0.7953 MB / 0.9955 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000184/0.2646, allocations: 42.94 kB / 0.9955 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.2648, allocations: 127.3 kB / 0.9957 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of SimCode: time 2.405e-06/0.2648, allocations: 0 / 0.9957 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.2874, allocations: 6.221 MB / 1.002 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.2876, allocations: 197 kB / 1.002 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/2.599, allocations: 3.938 kB / 1.002 GB, free: 4.328 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresis.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)