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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9198/0.9198, allocations: 144.9 MB / 454.5 MB, free: 10.02 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 59.97 kB / 0.6287 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1891, allocations: 87.84 MB / 0.7145 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.006662/0.1958, allocations: 3.011 MB / 0.7174 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.1987, allocations: 0.9703 MB / 0.7183 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.1991, allocations: 15.88 kB / 0.7184 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.1994, allocations: 63.33 kB / 0.7184 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.1997, allocations: 91.17 kB / 0.7185 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008605/0.2006, allocations: 232.2 kB / 0.7187 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007958/0.2014, allocations: 0.4911 MB / 0.7192 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.2018, allocations: 157.8 kB / 0.7194 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.2023, allocations: 191.2 kB / 0.7195 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.2026, allocations: 175 kB / 0.7197 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.2027, allocations: 44 kB / 0.7197 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.2028, allocations: 52 kB / 0.7198 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2029, allocations: 95.61 kB / 0.7199 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.2032, allocations: 198.9 kB / 0.7201 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2042, allocations: 0.5368 MB / 0.7206 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2042, allocations: 3.938 kB / 0.7206 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2042, allocations: 0 / 0.7206 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.2043, allocations: 4 kB / 0.7206 GB, free: 5.555 MB / 0.5294 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.001805/0.2061, allocations: 0.7281 MB / 0.7213 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.2061, allocations: 8.031 kB / 0.7213 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.978e-05/0.2062, allocations: 12.84 kB / 0.7213 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.2063, allocations: 70.64 kB / 0.7214 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/0.2066, allocations: 56.64 kB / 0.7215 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.2075, allocations: 404.6 kB / 0.7218 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.2076, allocations: 25.03 kB / 0.7219 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.2077, allocations: 28.38 kB / 0.7219 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/0.2085, allocations: 337.1 kB / 0.7222 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.2085, allocations: 3.938 kB / 0.7222 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.2086, allocations: 16 kB / 0.7222 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.2086, allocations: 8 kB / 0.7222 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.2093, allocations: 214.1 kB / 0.7225 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.2116, allocations: 1.178 MB / 0.7236 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008758/0.2125, allocations: 228.4 kB / 0.7238 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.2129, allocations: 115.8 kB / 0.7239 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.2129, allocations: 0 / 0.7239 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.2129, allocations: 38.88 kB / 0.724 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.2129, allocations: 0 / 0.724 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.001044/0.214, allocations: 297.2 kB / 0.7243 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.2141, allocations: 102.8 kB / 0.7243 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.2146, allocations: 337.7 kB / 0.7247 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.2147, allocations: 33.7 kB / 0.7247 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.2149, allocations: 224.5 kB / 0.7249 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.215, allocations: 79.28 kB / 0.725 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.2152, allocations: 61.67 kB / 0.7251 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.2154, allocations: 342.8 kB / 0.7254 GB, free: 392 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.2157, allocations: 79.95 kB / 0.7255 GB, free: 312 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.2161, allocations: 143.6 kB / 0.7256 GB, free: 140 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006836/0.2168, allocations: 225.5 kB / 0.7258 GB, free: 15.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2168, allocations: 4 kB / 0.7258 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008985/0.2177, allocations: 273.2 kB / 0.7261 GB, free: 15.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.2177, allocations: 8 kB / 0.7261 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2177, allocations: 0 / 0.7261 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.2178, allocations: 4 kB / 0.7261 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.2182, allocations: 56.09 kB / 0.7261 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.2182, allocations: 4 kB / 0.7261 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.2185, allocations: 31.83 kB / 0.7262 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.2185, allocations: 15.98 kB / 0.7262 GB, free: 15.5 MB / 0.545 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.0002702/0.2188, allocations: 161.7 kB / 0.7263 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.2189, allocations: 35.77 kB / 0.7264 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.2191, allocations: 35.36 kB / 0.7264 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.2191, allocations: 11.98 kB / 0.7264 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.2191, allocations: 0 / 0.7264 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.2191, allocations: 3.984 kB / 0.7264 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007678/0.2199, allocations: 409.2 kB / 0.7268 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2199, allocations: 0 / 0.7268 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.2203, allocations: 35.98 kB / 0.7268 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2203, allocations: 0 / 0.7268 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.2203, allocations: 11.98 kB / 0.7269 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2203, allocations: 0 / 0.7269 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2203, allocations: 0 / 0.7269 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.2216, allocations: 438.2 kB / 0.7273 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.2219, allocations: 128.7 kB / 0.7274 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.2219, allocations: 11.98 kB / 0.7274 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.2223, allocations: 15.98 kB / 0.7274 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.2223, allocations: 11.98 kB / 0.7274 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.2224, allocations: 16.05 kB / 0.7275 GB, free: 14.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004637/0.2228, allocations: 235.2 kB / 0.7277 GB, free: 13.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2228, allocations: 0 / 0.7277 GB, free: 13.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006276/0.2235, allocations: 71.83 kB / 0.7277 GB, free: 13.81 MB / 0.545 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.001788/0.2253, allocations: 0.9582 MB / 0.7287 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008326/0.2261, allocations: 192.9 kB / 0.7289 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2261, allocations: 0 / 0.7289 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.2264, allocations: 92.28 kB / 0.729 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/0.2274, allocations: 89.64 kB / 0.729 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007829/0.2352, allocations: 3.142 MB / 0.7321 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.2359, allocations: 0.7989 MB / 0.7329 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.2362, allocations: 34.97 kB / 0.7329 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.2365, allocations: 123.4 kB / 0.733 GB, free: 8.23 MB / 0.545 GB Notification: Performance of SimCode: time 1.723e-06/0.2365, allocations: 0 / 0.733 GB, free: 8.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/0.2749, allocations: 6.781 MB / 0.7397 GB, free: 1.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.906/9.181, allocations: 18.45 kB / 0.7397 GB, free: 1.645 MB / 0.545 GB " [Timeout remaining time 651] (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 --stepSize=34.56 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.069974442012608] Failed to read output from testmodel.py, exit status != 0: 9.310382611991372 9.325294534 9.117837004 Calling exit ...