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.001912/0.001912, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 195.4 kB / 16.53 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.043/1.043, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1886, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.006733/0.1954, allocations: 2.983 MB / 0.5973 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1977, allocations: 0.9119 MB / 0.5982 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005223/0.1983, allocations: 11.94 kB / 0.5982 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.1986, allocations: 59.33 kB / 0.5983 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.1991, allocations: 91.17 kB / 0.5983 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.1997, allocations: 217.9 kB / 0.5985 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.2004, allocations: 483.3 kB / 0.599 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.2008, allocations: 221.6 kB / 0.5992 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.2012, allocations: 187.1 kB / 0.5994 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.2015, allocations: 175.1 kB / 0.5996 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.2016, allocations: 44 kB / 0.5996 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.2017, allocations: 44 kB / 0.5996 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.2018, allocations: 91.58 kB / 0.5997 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.202, allocations: 206.9 kB / 0.5999 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.2026, allocations: 0.5102 MB / 0.6004 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2026, allocations: 0 / 0.6004 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2026, allocations: 4 kB / 0.6004 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.2027, allocations: 0 / 0.6004 GB, free: 3.266 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.001351/0.204, allocations: 0.7168 MB / 0.6011 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2041, allocations: 8.031 kB / 0.6011 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.231e-05/0.2042, allocations: 62.72 kB / 0.6012 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.731e-05/0.2043, allocations: 48.38 kB / 0.6013 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006234/0.2049, allocations: 392.4 kB / 0.6016 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.2049, allocations: 21.03 kB / 0.6016 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.205, allocations: 36.31 kB / 0.6017 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.2056, allocations: 341.2 kB / 0.602 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2057, allocations: 3.906 kB / 0.602 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.2057, allocations: 15.94 kB / 0.602 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2057, allocations: 11.94 kB / 0.602 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.2062, allocations: 214.2 kB / 0.6022 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.208, allocations: 1.178 MB / 0.6034 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3335/0.5415, allocations: 234.3 kB / 0.6036 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.5418, allocations: 114.6 kB / 0.6037 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.5418, allocations: 2.906 kB / 0.6037 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.5418, allocations: 40.12 kB / 0.6038 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.013e-06/0.5418, allocations: 0 / 0.6038 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0007095/0.5426, allocations: 292.4 kB / 0.604 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.5426, allocations: 109.5 kB / 0.6041 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.5429, allocations: 341 kB / 0.6045 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.543, allocations: 31.55 kB / 0.6045 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.5431, allocations: 221.3 kB / 0.6047 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.5431, allocations: 74.7 kB / 0.6048 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.5432, allocations: 55.03 kB / 0.6048 GB, free: 43.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.5433, allocations: 342.6 kB / 0.6052 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.5435, allocations: 76.06 kB / 0.6052 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.5436, allocations: 145.8 kB / 0.6054 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.544, allocations: 209.8 kB / 0.6056 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.544, allocations: 2.531 kB / 0.6056 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004205/0.5444, allocations: 282.3 kB / 0.6058 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5444, allocations: 8.5 kB / 0.6059 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.5444, allocations: 6.688 kB / 0.6059 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5445, allocations: 4.016 kB / 0.6059 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.5447, allocations: 50.72 kB / 0.6059 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5447, allocations: 8.469 kB / 0.6059 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.5449, allocations: 31.91 kB / 0.606 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.5449, allocations: 15.53 kB / 0.606 GB, free: 43.17 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.0001204/0.545, allocations: 154.5 kB / 0.6061 GB, free: 43.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.5451, allocations: 33.09 kB / 0.6061 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.5452, allocations: 43.22 kB / 0.6062 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5452, allocations: 7.359 kB / 0.6062 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5452, allocations: 0 / 0.6062 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5452, allocations: 2.656 kB / 0.6062 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.5455, allocations: 393.4 kB / 0.6066 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5455, allocations: 1.5 kB / 0.6066 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.5457, allocations: 45.03 kB / 0.6066 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.5457, allocations: 3.938 kB / 0.6066 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.5458, allocations: 5.719 kB / 0.6066 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5458, allocations: 0.5 kB / 0.6066 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5458, allocations: 0 / 0.6066 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.5464, allocations: 427.6 kB / 0.607 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.5465, allocations: 138.5 kB / 0.6072 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.5465, allocations: 6.656 kB / 0.6072 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.5467, allocations: 12.61 kB / 0.6072 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.5468, allocations: 17.58 kB / 0.6072 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.5468, allocations: 9.188 kB / 0.6072 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001789/0.547, allocations: 239.7 kB / 0.6074 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.547, allocations: 2.531 kB / 0.6074 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002994/0.5473, allocations: 75.09 kB / 0.6075 GB, free: 42.46 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.0006877/0.548, allocations: 0.9576 MB / 0.6084 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004114/0.5484, allocations: 212.4 kB / 0.6086 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5484, allocations: 0 / 0.6086 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.5486, allocations: 103 kB / 0.6087 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.5492, allocations: 78.34 kB / 0.6088 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.5524, allocations: 3.142 MB / 0.6119 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.5526, allocations: 0.7939 MB / 0.6127 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.5527, allocations: 36.59 kB / 0.6127 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.5529, allocations: 118.5 kB / 0.6128 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.5529, allocations: 3.062 kB / 0.6128 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6162/1.169, allocations: 6.577 MB / 0.6192 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/8.764, allocations: 12.88 kB / 0.6193 GB, free: 38.53 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)