Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 190.9 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9914/0.9914, allocations: 143 MB / 433 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.84 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.186, allocations: 82.05 MB / 0.5937 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00457/0.1907, allocations: 3.003 MB / 0.5967 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1923, allocations: 0.8846 MB / 0.5975 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1926, allocations: 11.94 kB / 0.5975 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1928, allocations: 47.58 kB / 0.5976 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.193, allocations: 75.42 kB / 0.5977 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.1935, allocations: 200.3 kB / 0.5978 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.194, allocations: 451.2 kB / 0.5983 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.1944, allocations: 205.2 kB / 0.5985 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.1946, allocations: 151.1 kB / 0.5986 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.1948, allocations: 159.1 kB / 0.5988 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.627e-05/0.1949, allocations: 23.94 kB / 0.5988 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-05/0.195, allocations: 24 kB / 0.5988 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.662e-05/0.1951, allocations: 71.56 kB / 0.5989 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1952, allocations: 175 kB / 0.599 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.1957, allocations: 0.5062 MB / 0.5995 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1957, allocations: 0 / 0.5995 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1957, allocations: 0 / 0.5995 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1958, allocations: 0 / 0.5995 GB, free: 3.973 MB / 0.4981 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.00124/0.197, allocations: 0.709 MB / 0.6002 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1971, allocations: 8.031 kB / 0.6002 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.228e-05/0.1971, allocations: 74.66 kB / 0.6003 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.1972, allocations: 48.38 kB / 0.6004 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.1978, allocations: 380.5 kB / 0.6007 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.1979, allocations: 21.03 kB / 0.6007 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.1979, allocations: 32.38 kB / 0.6008 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.1985, allocations: 341.3 kB / 0.6011 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1985, allocations: 7.844 kB / 0.6011 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.1986, allocations: 12 kB / 0.6011 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1986, allocations: 4 kB / 0.6011 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.1991, allocations: 218.1 kB / 0.6013 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.2006, allocations: 1.186 MB / 0.6025 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.2012, allocations: 242.7 kB / 0.6027 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.2015, allocations: 111.8 kB / 0.6028 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.2015, allocations: 3.984 kB / 0.6028 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2015, allocations: 38.94 kB / 0.6029 GB, free: 356 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.2015, allocations: 0 / 0.6029 GB, free: 356 kB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0006803/0.2022, allocations: 297 kB / 0.6032 GB, free: 52 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3382/0.5405, allocations: 105.7 kB / 0.6033 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.541, allocations: 339.5 kB / 0.6036 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.5411, allocations: 29.2 kB / 0.6036 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.5412, allocations: 222.6 kB / 0.6038 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.5413, allocations: 75.11 kB / 0.6039 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.5414, allocations: 53.55 kB / 0.6039 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.5415, allocations: 342.5 kB / 0.6043 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.5417, allocations: 74.95 kB / 0.6043 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.5419, allocations: 146.3 kB / 0.6045 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.5422, allocations: 211.8 kB / 0.6047 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.5422, allocations: 0.75 kB / 0.6047 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004688/0.5427, allocations: 279.5 kB / 0.6049 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5427, allocations: 6.469 kB / 0.605 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5427, allocations: 4.688 kB / 0.605 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5428, allocations: 2.625 kB / 0.605 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.543, allocations: 56.78 kB / 0.605 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.543, allocations: 3.531 kB / 0.605 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.5432, allocations: 38.36 kB / 0.6051 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.5432, allocations: 9.875 kB / 0.6051 GB, free: 43.54 MB / 0.4981 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 (con.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.5434, allocations: 158.7 kB / 0.6052 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.5435, allocations: 40.97 kB / 0.6053 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.049e-05/0.5435, allocations: 44.27 kB / 0.6053 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.5435, allocations: 0 / 0.6053 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.5436, allocations: 5.125 kB / 0.6053 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5436, allocations: 0.75 kB / 0.6053 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.5439, allocations: 394 kB / 0.6057 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5439, allocations: 2.969 kB / 0.6057 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.5442, allocations: 39.31 kB / 0.6057 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5442, allocations: 6.75 kB / 0.6057 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.5442, allocations: 6.391 kB / 0.6057 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.5442, allocations: 2.906 kB / 0.6057 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5442, allocations: 0 / 0.6057 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.5448, allocations: 427.9 kB / 0.6061 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.3e-05/0.5449, allocations: 124.2 kB / 0.6063 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.545, allocations: 10.59 kB / 0.6063 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.5451, allocations: 25.28 kB / 0.6063 GB, free: 42.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.5452, allocations: 14 kB / 0.6063 GB, free: 42.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.5452, allocations: 8.906 kB / 0.6063 GB, free: 42.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001929/0.5454, allocations: 237.5 kB / 0.6065 GB, free: 42.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5454, allocations: 0 / 0.6065 GB, free: 42.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003077/0.5458, allocations: 66.22 kB / 0.6066 GB, free: 42.84 MB / 0.4981 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 (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.0007685/0.5465, allocations: 0.9709 MB / 0.6076 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.547, allocations: 207.8 kB / 0.6078 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.547, allocations: 0 / 0.6078 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.5471, allocations: 100.2 kB / 0.6078 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.5477, allocations: 78.58 kB / 0.6079 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.5513, allocations: 3.268 MB / 0.6111 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.5515, allocations: 0.7962 MB / 0.6119 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.5517, allocations: 43.09 kB / 0.6119 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.5519, allocations: 124 kB / 0.612 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.5519, allocations: 0 / 0.612 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.5677, allocations: 6.249 MB / 0.6182 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/0.5679, allocations: 218 kB / 0.6184 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.317, allocations: 2.188 kB / 0.6184 GB, free: 38.8 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)