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.233/1.233, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0009215/0.0009216, allocations: 176 kB / 325.8 MB, free: 2.719 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.274/1.274, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006255/0.0006256, allocations: 86.31 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 12.53 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1393, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00246/0.1418, allocations: 2.857 MB / 0.899 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1429, allocations: 0.9825 MB / 0.8999 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.1431, allocations: 19.88 kB / 0.9 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1433, allocations: 55.5 kB / 0.9 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.1435, allocations: 75.42 kB / 0.9001 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.1439, allocations: 218.8 kB / 0.9003 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.1442, allocations: 0.5036 MB / 0.9008 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.1445, allocations: 239.3 kB / 0.901 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1446, allocations: 143.1 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1448, allocations: 162.9 kB / 0.9013 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.1448, allocations: 12 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.288e-05/0.1449, allocations: 12 kB / 0.9013 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.1449, allocations: 67.62 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.145, allocations: 182.7 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.1453, allocations: 0.4981 MB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1453, allocations: 7.984 kB / 0.9021 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1453, allocations: 3.938 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.1453, allocations: 0 / 0.9021 GB, free: 62.09 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.0007609/0.1461, allocations: 0.6844 MB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.1461, allocations: 8.031 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.1462, allocations: 78.7 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.1462, allocations: 56.28 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.1466, allocations: 408.6 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1467, allocations: 33.38 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1467, allocations: 36.38 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.1472, allocations: 409.7 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1472, allocations: 0 / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.1472, allocations: 16 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1472, allocations: 8 kB / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.1477, allocations: 267.8 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1489, allocations: 1.328 MB / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.1494, allocations: 319.1 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1496, allocations: 140.8 kB / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1496, allocations: 8 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.1499, allocations: 173.5 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.1499, allocations: 0 / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0006019/0.1505, allocations: 389.8 kB / 0.9063 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1506, allocations: 81.11 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.1508, allocations: 353.6 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1508, allocations: 33.7 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.1509, allocations: 236.8 kB / 0.9069 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.151, allocations: 106.5 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.151, allocations: 37.7 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.1511, allocations: 354.8 kB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1513, allocations: 112.6 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.1515, allocations: 172.3 kB / 0.9077 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.1518, allocations: 264.5 kB / 0.9079 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1518, allocations: 3.938 kB / 0.9079 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000454/0.1523, allocations: 354.5 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1523, allocations: 8 kB / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1523, allocations: 0 / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1523, allocations: 4.188 kB / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.1526, allocations: 67.91 kB / 0.9084 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1526, allocations: 0 / 0.9084 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1527, allocations: 47.67 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1528, allocations: 12 kB / 0.9084 GB, free: 55.25 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 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.1529, allocations: 181.7 kB / 0.9086 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.1529, allocations: 35.53 kB / 0.9086 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.153, allocations: 40.25 kB / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.153, allocations: 4 kB / 0.9087 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.153, allocations: 0 / 0.9087 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.153, allocations: 4 kB / 0.9087 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.1538, allocations: 0.8219 MB / 0.9095 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1538, allocations: 0 / 0.9095 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.154, allocations: 47.91 kB / 0.9095 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.154, allocations: 3.938 kB / 0.9095 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.154, allocations: 8 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.154, allocations: 0 / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1541, allocations: 0 / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.1547, allocations: 0.5235 MB / 0.91 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.1548, allocations: 140.6 kB / 0.9102 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.1548, allocations: 8 kB / 0.9102 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.155, allocations: 24.05 kB / 0.9102 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.155, allocations: 23.97 kB / 0.9102 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1551, allocations: 15.97 kB / 0.9102 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001592/0.1552, allocations: 247.1 kB / 0.9105 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1552, allocations: 0 / 0.9105 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002798/0.1555, allocations: 87.67 kB / 0.9106 GB, free: 52.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007423/0.1563, allocations: 1.067 MB / 0.9116 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.1567, allocations: 268.4 kB / 0.9119 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1567, allocations: 4 kB / 0.9119 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.1569, allocations: 136.4 kB / 0.912 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.1573, allocations: 91.62 kB / 0.9121 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.1608, allocations: 3.642 MB / 0.9156 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.161, allocations: 0.8113 MB / 0.9164 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.1611, allocations: 43.27 kB / 0.9165 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1613, allocations: 139.4 kB / 0.9166 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1613, allocations: 3.938 kB / 0.9166 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1917/0.3529, allocations: 6.84 MB / 0.9233 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.3531, allocations: 220.4 kB / 0.9235 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.467, allocations: 0 / 0.9235 GB, free: 39.67 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)