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.001253/0.001253, allocations: 109.8 kB / 19.73 MB, free: 2.238 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.001595/0.001595, allocations: 217.6 kB / 23.04 MB, free: 5.074 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.9415/0.9415, allocations: 145 MB / 458.2 MB, free: 15.56 MB / 366.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.001972/0.001972, allocations: 62.38 kB / 0.6339 GB, free: 7.352 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2044, allocations: 87.89 MB / 0.7197 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00489/0.2093, allocations: 3.041 MB / 0.7227 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2114, allocations: 0.9819 MB / 0.7237 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.2117, allocations: 15.88 kB / 0.7237 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.2119, allocations: 67.33 kB / 0.7237 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.2121, allocations: 99.09 kB / 0.7238 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.2128, allocations: 235.4 kB / 0.7241 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.2134, allocations: 0.4912 MB / 0.7245 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.2137, allocations: 150.2 kB / 0.7247 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.2141, allocations: 191.2 kB / 0.7249 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.2143, allocations: 183 kB / 0.725 GB, free: 10 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.023e-05/0.2144, allocations: 40 kB / 0.7251 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2145, allocations: 51.98 kB / 0.7251 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.2146, allocations: 87.7 kB / 0.7252 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.2148, allocations: 206.8 kB / 0.7254 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.2155, allocations: 0.5407 MB / 0.7259 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2155, allocations: 0 / 0.7259 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2155, allocations: 0 / 0.7259 GB, free: 9.078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.2155, allocations: 0 / 0.7259 GB, free: 9.078 MB / 0.545 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.001276/0.2168, allocations: 0.6567 MB / 0.7266 GB, free: 8.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2168, allocations: 8.031 kB / 0.7266 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.223e-05/0.2169, allocations: 8.844 kB / 0.7266 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.696e-05/0.2169, allocations: 62.72 kB / 0.7267 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.2172, allocations: 60.64 kB / 0.7267 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007174/0.2179, allocations: 346.8 kB / 0.727 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.2179, allocations: 25.03 kB / 0.7271 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.218, allocations: 28.38 kB / 0.7271 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.2186, allocations: 341.2 kB / 0.7274 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2186, allocations: 0 / 0.7274 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.2187, allocations: 16 kB / 0.7274 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2187, allocations: 8 kB / 0.7274 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.2192, allocations: 214.5 kB / 0.7277 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.2209, allocations: 1.14 MB / 0.7288 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.2215, allocations: 218.7 kB / 0.729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.2218, allocations: 112.8 kB / 0.7291 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.2218, allocations: 4 kB / 0.7291 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.2218, allocations: 34.88 kB / 0.7291 GB, free: 5.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.664e-06/0.2218, allocations: 0 / 0.7291 GB, free: 5.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0008055/0.2226, allocations: 291.4 kB / 0.7294 GB, free: 5.359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.2227, allocations: 110.8 kB / 0.7295 GB, free: 5.227 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.2231, allocations: 341.6 kB / 0.7298 GB, free: 4.883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.2232, allocations: 37.69 kB / 0.7299 GB, free: 4.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.2234, allocations: 224.5 kB / 0.7301 GB, free: 4.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/0.2235, allocations: 83.27 kB / 0.7302 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.2236, allocations: 57.64 kB / 0.7302 GB, free: 4.473 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2237, allocations: 338.8 kB / 0.7305 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.2239, allocations: 79.95 kB / 0.7306 GB, free: 4.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.2242, allocations: 143.7 kB / 0.7307 GB, free: 3.887 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.2246, allocations: 214.9 kB / 0.731 GB, free: 3.656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2246, allocations: 4 kB / 0.731 GB, free: 3.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005485/0.2251, allocations: 284 kB / 0.7312 GB, free: 3.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2251, allocations: 4 kB / 0.7312 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2252, allocations: 0 / 0.7312 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2252, allocations: 4 kB / 0.7312 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.2254, allocations: 55.91 kB / 0.7313 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.2254, allocations: 4 kB / 0.7313 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.2256, allocations: 39.75 kB / 0.7313 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.2256, allocations: 8 kB / 0.7313 GB, free: 3.258 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.0001928/0.2258, allocations: 165.9 kB / 0.7315 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.2259, allocations: 35.77 kB / 0.7315 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.226, allocations: 43.45 kB / 0.7316 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.226, allocations: 0 / 0.7316 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.226, allocations: 4 kB / 0.7316 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.226, allocations: 3.984 kB / 0.7316 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.2265, allocations: 368.3 kB / 0.7319 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2265, allocations: 0 / 0.7319 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.2268, allocations: 43.92 kB / 0.732 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.2268, allocations: 4 kB / 0.732 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2268, allocations: 7.984 kB / 0.732 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2268, allocations: 0 / 0.732 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2268, allocations: 0 / 0.732 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.2276, allocations: 432.4 kB / 0.7324 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2277, allocations: 55.78 kB / 0.7325 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.2278, allocations: 4 kB / 0.7325 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.228, allocations: 19.97 kB / 0.7325 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.228, allocations: 23.84 kB / 0.7325 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.228, allocations: 8 kB / 0.7325 GB, free: 2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002861/0.2283, allocations: 239.2 kB / 0.7327 GB, free: 1.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2283, allocations: 0 / 0.7327 GB, free: 1.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003485/0.2287, allocations: 67.83 kB / 0.7328 GB, free: 1.703 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.00112/0.2298, allocations: 0.9582 MB / 0.7337 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005557/0.2304, allocations: 190.9 kB / 0.7339 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2304, allocations: 4 kB / 0.7339 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.2306, allocations: 103.8 kB / 0.734 GB, free: 440 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.2311, allocations: 77.14 kB / 0.7341 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.2359, allocations: 3.134 MB / 0.7372 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.2364, allocations: 0.799 MB / 0.7379 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.2367, allocations: 34.97 kB / 0.738 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.2369, allocations: 123.4 kB / 0.7381 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.2369, allocations: 0 / 0.7381 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.2707, allocations: 7.001 MB / 0.7449 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.99, allocations: 12 kB / 0.7449 GB, free: 5.301 MB / 0.5606 GB " [Timeout remaining time 648] (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: 16.196341821923852] Failed to read output from testmodel.py, exit status != 0: 12.15826440101955 12.490374246 12.272010626 Calling exit ...