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.001217/0.001217, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001274/0.001274, allocations: 189.9 kB / 16.25 MB, free: 6.629 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.523 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 1.089/1.089, allocations: 143 MB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1704, allocations: 82.04 MB / 0.5939 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005014/0.1755, allocations: 3.007 MB / 0.5968 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1774, allocations: 0.8808 MB / 0.5977 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004233/0.1779, allocations: 11.94 kB / 0.5977 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1782, allocations: 47.58 kB / 0.5978 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.1786, allocations: 71.42 kB / 0.5978 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.1792, allocations: 205.4 kB / 0.598 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000626/0.1798, allocations: 499.2 kB / 0.5985 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.1802, allocations: 209.6 kB / 0.5987 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.1805, allocations: 179.1 kB / 0.5989 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1808, allocations: 179.1 kB / 0.599 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.1809, allocations: 40 kB / 0.5991 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.181, allocations: 48 kB / 0.5991 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.1811, allocations: 95.58 kB / 0.5992 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.1812, allocations: 202.9 kB / 0.5994 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.1818, allocations: 0.5141 MB / 0.5999 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1818, allocations: 0 / 0.5999 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1818, allocations: 0 / 0.5999 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.1818, allocations: 0 / 0.5999 GB, free: 3.613 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.001233/0.183, allocations: 0.7128 MB / 0.6006 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1831, allocations: 12.03 kB / 0.6006 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.635e-05/0.1832, allocations: 62.72 kB / 0.6007 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.48e-05/0.1833, allocations: 48.38 kB / 0.6007 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.1838, allocations: 392.4 kB / 0.6011 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.1839, allocations: 29.03 kB / 0.6011 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.1839, allocations: 28.38 kB / 0.6012 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.1845, allocations: 337.2 kB / 0.6015 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1845, allocations: 3.906 kB / 0.6015 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.1846, allocations: 12 kB / 0.6015 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1846, allocations: 12 kB / 0.6015 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.185, allocations: 218 kB / 0.6017 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.1866, allocations: 1.186 MB / 0.6029 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.1872, allocations: 234.8 kB / 0.6031 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1874, allocations: 112.8 kB / 0.6032 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1875, allocations: 3.984 kB / 0.6032 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3562/0.5436, allocations: 38.31 kB / 0.6032 GB, free: 44.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 4.368e-06/0.5437, allocations: 2.125 kB / 0.6032 GB, free: 44.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0009154/0.5446, allocations: 287.9 kB / 0.6035 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.5447, allocations: 107.3 kB / 0.6036 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.545, allocations: 341.2 kB / 0.6039 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.5451, allocations: 35.17 kB / 0.604 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5452, allocations: 219.7 kB / 0.6042 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.5453, allocations: 76.53 kB / 0.6043 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/0.5454, allocations: 50.78 kB / 0.6043 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.5455, allocations: 345.1 kB / 0.6046 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.5456, allocations: 77.78 kB / 0.6047 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.5458, allocations: 145.6 kB / 0.6049 GB, free: 43.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.5462, allocations: 213.1 kB / 0.6051 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5462, allocations: 0.75 kB / 0.6051 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004543/0.5466, allocations: 282.7 kB / 0.6053 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5467, allocations: 5.625 kB / 0.6053 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5467, allocations: 3.641 kB / 0.6053 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5467, allocations: 3.625 kB / 0.6053 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.547, allocations: 59.12 kB / 0.6054 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.547, allocations: 2.938 kB / 0.6054 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.5472, allocations: 33.12 kB / 0.6054 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.5472, allocations: 12.56 kB / 0.6054 GB, free: 43.39 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.0001548/0.5474, allocations: 161.3 kB / 0.6056 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.5474, allocations: 38.16 kB / 0.6056 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.681e-05/0.5475, allocations: 38.36 kB / 0.6057 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5475, allocations: 2.812 kB / 0.6057 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.5475, allocations: 2.062 kB / 0.6057 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5476, allocations: 5.469 kB / 0.6057 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.5479, allocations: 399 kB / 0.6061 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.548, allocations: 0.6875 kB / 0.6061 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.5482, allocations: 44.66 kB / 0.6061 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5482, allocations: 0 / 0.6061 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.5482, allocations: 2.812 kB / 0.6061 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5482, allocations: 10.09 kB / 0.6061 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5482, allocations: 0 / 0.6061 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.5489, allocations: 425.8 kB / 0.6065 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.549, allocations: 128.9 kB / 0.6066 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.549, allocations: 8.922 kB / 0.6067 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.5492, allocations: 14.52 kB / 0.6067 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.5493, allocations: 26.47 kB / 0.6067 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.5493, allocations: 4.281 kB / 0.6067 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002292/0.5495, allocations: 243.4 kB / 0.6069 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5495, allocations: 0.9375 kB / 0.6069 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003215/0.5499, allocations: 72.62 kB / 0.607 GB, free: 42.67 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.0007839/0.5507, allocations: 0.9573 MB / 0.6079 GB, free: 42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.5511, allocations: 211.6 kB / 0.6081 GB, free: 42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5511, allocations: 3.719 kB / 0.6081 GB, free: 42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.5513, allocations: 98.92 kB / 0.6082 GB, free: 42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.5519, allocations: 80.83 kB / 0.6083 GB, free: 42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.5557, allocations: 3.266 MB / 0.6115 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.5559, allocations: 0.7942 MB / 0.6123 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.5561, allocations: 39.31 kB / 0.6123 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.5563, allocations: 127.1 kB / 0.6124 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.5563, allocations: 0 / 0.6124 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.5745, allocations: 6.418 MB / 0.6187 GB, free: 38.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.5748, allocations: 221.6 kB / 0.6189 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.334, allocations: 0 / 0.6189 GB, free: 38.56 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)