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.464/1.464, allocations: 251.9 MB / 266.8 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.001483/0.001483, allocations: 175.2 kB / 326.5 MB, free: 2.242 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.679/1.679, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0007942/0.0007941, allocations: 98.11 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004902, allocations: 9.922 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2198, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002983/0.2229, allocations: 2.632 MB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2246, allocations: 0.9478 MB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.2248, allocations: 11.94 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.348e-05/0.2249, allocations: 31.64 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.2253, allocations: 107.6 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.2256, allocations: 184.2 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.226, allocations: 344.5 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.2262, allocations: 175.7 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2264, allocations: 151.3 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2266, allocations: 147.1 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.2266, allocations: 12 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.359e-05/0.2267, allocations: 12 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.2267, allocations: 63.69 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.2268, allocations: 101.5 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.227, allocations: 419.2 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.227, allocations: 0 / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.227, allocations: 0 / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2271, allocations: 0 / 0.9053 GB, free: 58.52 MB / 0.6042 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.0009077/0.228, allocations: 0.6919 MB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.228, allocations: 8.031 kB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.474e-05/0.2281, allocations: 70.53 kB / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.121e-05/0.2282, allocations: 59.3 kB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.2286, allocations: 403.6 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2287, allocations: 32.98 kB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.2287, allocations: 39.94 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.2293, allocations: 385.6 kB / 0.9069 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2293, allocations: 4 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.2293, allocations: 16 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2293, allocations: 11.98 kB / 0.907 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.2298, allocations: 271.7 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.2312, allocations: 1.328 MB / 0.9085 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.2318, allocations: 313.3 kB / 0.9088 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.2319, allocations: 4 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.2322, allocations: 169.6 kB / 0.909 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.2322, allocations: 0 / 0.909 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0006902/0.2329, allocations: 389.7 kB / 0.9094 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.233, allocations: 85.11 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.2332, allocations: 345.6 kB / 0.9098 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2333, allocations: 37.7 kB / 0.9098 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.2334, allocations: 240.8 kB / 0.91 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.2334, allocations: 98.56 kB / 0.9101 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.2335, allocations: 8 kB / 0.9102 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.2335, allocations: 354.8 kB / 0.9105 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.2337, allocations: 100.7 kB / 0.9106 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.234, allocations: 172.4 kB / 0.9107 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.2342, allocations: 114.2 kB / 0.9109 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2342, allocations: 0 / 0.9109 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005093/0.2347, allocations: 358.9 kB / 0.9112 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2347, allocations: 4 kB / 0.9112 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2347, allocations: 4 kB / 0.9112 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2348, allocations: 7.984 kB / 0.9112 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.235, allocations: 59.91 kB / 0.9113 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.235, allocations: 4 kB / 0.9113 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.2352, allocations: 47.86 kB / 0.9113 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.2352, allocations: 19.94 kB / 0.9113 GB, free: 52.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.greaterEqualThreshold.y,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 (45): * Single equations (assignments): 45 * 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.0001432/0.2354, allocations: 173.7 kB / 0.9115 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.2354, allocations: 39.53 kB / 0.9115 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.2355, allocations: 44.23 kB / 0.9116 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.2355, allocations: 4 kB / 0.9116 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2355, allocations: 0 / 0.9116 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.2355, allocations: 4 kB / 0.9116 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2366, allocations: 0.8104 MB / 0.9124 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.2366, allocations: 0 / 0.9124 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.2369, allocations: 47.91 kB / 0.9124 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2369, allocations: 0 / 0.9124 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2369, allocations: 15.94 kB / 0.9124 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2369, allocations: 0 / 0.9124 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2369, allocations: 0 / 0.9124 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.2376, allocations: 0.5157 MB / 0.913 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.2377, allocations: 144.6 kB / 0.9131 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.2378, allocations: 4 kB / 0.9131 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.238, allocations: 27.91 kB / 0.9131 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.238, allocations: 23.97 kB / 0.9131 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.2381, allocations: 15.98 kB / 0.9132 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001748/0.2382, allocations: 235.2 kB / 0.9134 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2382, allocations: 0 / 0.9134 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003202/0.2386, allocations: 91.69 kB / 0.9135 GB, free: 49.77 MB / 0.6042 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.greaterEqualThreshold.y) * 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.0008456/0.2394, allocations: 1.079 MB / 0.9145 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.2399, allocations: 263.7 kB / 0.9148 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2399, allocations: 0 / 0.9148 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.2401, allocations: 132.3 kB / 0.9149 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.2405, allocations: 77.06 kB / 0.915 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.2437, allocations: 3.184 MB / 0.9181 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.2439, allocations: 0.8307 MB / 0.9189 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.244, allocations: 47.25 kB / 0.9189 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.2442, allocations: 139.4 kB / 0.9191 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.2442, allocations: 0 / 0.9191 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.2612, allocations: 6.95 MB / 0.9259 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.2614, allocations: 201.6 kB / 0.9261 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.45, allocations: 0 / 0.9261 GB, free: 36.89 MB / 0.6042 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)