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.466/1.466, allocations: 252 MB / 267.3 MB, free: 10.85 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.001039/0.001039, allocations: 165.9 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.4 MB / 0.578 GB, free: 20.06 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.0008209/0.0008209, allocations: 87.8 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004198, allocations: 12.23 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2694, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003563/0.273, allocations: 2.797 MB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.2753, allocations: 0.9708 MB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.276, allocations: 15.94 kB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.2763, allocations: 51.56 kB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004164/0.2768, allocations: 75.38 kB / 0.9047 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.2775, allocations: 218.1 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006311/0.2781, allocations: 0.5074 MB / 0.9054 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.2786, allocations: 243.3 kB / 0.9057 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.2789, allocations: 139.1 kB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.2792, allocations: 158.9 kB / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.2792, allocations: 15.94 kB / 0.906 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.599e-05/0.2793, allocations: 12 kB / 0.906 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.2793, allocations: 71.56 kB / 0.906 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.2795, allocations: 208.4 kB / 0.9062 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.28, allocations: 0.5061 MB / 0.9067 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.28, allocations: 4 kB / 0.9067 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.28, allocations: 0 / 0.9067 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.28, allocations: 0 / 0.9067 GB, free: 57.39 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.001328/0.2814, allocations: 0.6805 MB / 0.9074 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.2814, allocations: 11.97 kB / 0.9074 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.2815, allocations: 78.7 kB / 0.9075 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.2817, allocations: 56.28 kB / 0.9075 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.2823, allocations: 408.6 kB / 0.9079 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.2823, allocations: 33.38 kB / 0.908 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.2824, allocations: 36.38 kB / 0.908 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.283, allocations: 409.7 kB / 0.9084 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.283, allocations: 0 / 0.9084 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.2831, allocations: 12 kB / 0.9084 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2831, allocations: 15.94 kB / 0.9084 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.2836, allocations: 267.8 kB / 0.9087 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.2854, allocations: 1.324 MB / 0.91 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.2861, allocations: 312.9 kB / 0.9103 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.2863, allocations: 144.9 kB / 0.9104 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.2864, allocations: 4 kB / 0.9104 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.2868, allocations: 177.5 kB / 0.9106 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/0.2868, allocations: 0 / 0.9106 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0008356/0.2876, allocations: 389.8 kB / 0.9109 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.2877, allocations: 81.11 kB / 0.911 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.2881, allocations: 357.5 kB / 0.9114 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.2881, allocations: 33.7 kB / 0.9114 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2883, allocations: 232.3 kB / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.2883, allocations: 106.5 kB / 0.9117 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.2884, allocations: 4 kB / 0.9117 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.2885, allocations: 346.8 kB / 0.912 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.2887, allocations: 112.6 kB / 0.9122 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.2889, allocations: 168.4 kB / 0.9123 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.2893, allocations: 264.5 kB / 0.9126 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2894, allocations: 7.938 kB / 0.9126 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005762/0.2899, allocations: 354.5 kB / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.29, allocations: 6.5 kB / 0.9129 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.29, allocations: 0 / 0.9129 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.29, allocations: 4 kB / 0.9129 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.2903, allocations: 72.03 kB / 0.913 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2903, allocations: 7.984 kB / 0.913 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.2905, allocations: 43.67 kB / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.2906, allocations: 12 kB / 0.913 GB, free: 50.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.2908, allocations: 181.6 kB / 0.9132 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.2908, allocations: 39.53 kB / 0.9133 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.2909, allocations: 44.25 kB / 0.9133 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.2909, allocations: 4 kB / 0.9133 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.2909, allocations: 7.922 kB / 0.9133 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.291, allocations: 4 kB / 0.9133 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.292, allocations: 0.8142 MB / 0.9141 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.292, allocations: 3.938 kB / 0.9141 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.2922, allocations: 39.98 kB / 0.9142 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2922, allocations: 0 / 0.9142 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.2923, allocations: 11.98 kB / 0.9142 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2923, allocations: 0 / 0.9142 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2923, allocations: 0 / 0.9142 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.293, allocations: 0.5275 MB / 0.9147 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.2932, allocations: 136.5 kB / 0.9148 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.2932, allocations: 8 kB / 0.9148 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.2934, allocations: 24.05 kB / 0.9148 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.2935, allocations: 27.95 kB / 0.9149 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.2935, allocations: 8 kB / 0.9149 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002213/0.2938, allocations: 251.1 kB / 0.9151 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.71e-07/0.2938, allocations: 0 / 0.9151 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003469/0.2941, allocations: 79.75 kB / 0.9152 GB, free: 48.3 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.001063/0.2952, allocations: 1.067 MB / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000535/0.2957, allocations: 276.4 kB / 0.9165 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2958, allocations: 0 / 0.9165 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.296, allocations: 132.4 kB / 0.9166 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.2966, allocations: 85.72 kB / 0.9167 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.3014, allocations: 3.697 MB / 0.9203 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3018, allocations: 0.8191 MB / 0.9211 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002138/0.302, allocations: 43.27 kB / 0.9212 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.3022, allocations: 139.4 kB / 0.9213 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/0.3022, allocations: 0 / 0.9213 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.3233, allocations: 6.84 MB / 0.928 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/0.3236, allocations: 216.3 kB / 0.9282 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/2.743, allocations: 0 / 0.9282 GB, free: 34.97 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)