Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001759/0.001759, allocations: 119 kB / 19.69 MB, free: 2.199 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.002413/0.002413, allocations: 224 kB / 23.01 MB, free: 5.047 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.003/1.003, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002088/0.002088, allocations: 62.72 kB / 0.6412 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2045, allocations: 89.17 MB / 0.7283 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004628/0.2092, allocations: 3.026 MB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2111, allocations: 0.9742 MB / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.2113, allocations: 19.81 kB / 0.7323 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.2115, allocations: 67.33 kB / 0.7323 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.2117, allocations: 95.16 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.2123, allocations: 236.2 kB / 0.7326 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005468/0.2129, allocations: 495.2 kB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.2132, allocations: 158.4 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.2135, allocations: 187.2 kB / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.2137, allocations: 187 kB / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.2138, allocations: 44 kB / 0.7337 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.084e-05/0.2139, allocations: 48 kB / 0.7337 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/0.2139, allocations: 91.64 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.2141, allocations: 202.9 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006134/0.2147, allocations: 0.5173 MB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2147, allocations: 4 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2147, allocations: 0 / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.2147, allocations: 0 / 0.7345 GB, free: 10.89 MB / 0.5606 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.001096/0.2158, allocations: 0.6528 MB / 0.7351 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.2159, allocations: 8.031 kB / 0.7351 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.615e-05/0.216, allocations: 70.66 kB / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.2161, allocations: 60.59 kB / 0.7353 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.2168, allocations: 342.8 kB / 0.7356 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.2168, allocations: 25.03 kB / 0.7356 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.2169, allocations: 28.38 kB / 0.7356 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.2175, allocations: 333.5 kB / 0.736 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2175, allocations: 11.94 kB / 0.736 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.2175, allocations: 12 kB / 0.736 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2175, allocations: 8 kB / 0.736 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.218, allocations: 210.5 kB / 0.7362 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.2197, allocations: 1.148 MB / 0.7373 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.2203, allocations: 218.8 kB / 0.7375 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.2205, allocations: 111.5 kB / 0.7376 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.2205, allocations: 7.984 kB / 0.7376 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2206, allocations: 38.94 kB / 0.7377 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.2206, allocations: 0 / 0.7377 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0006887/0.2213, allocations: 298.7 kB / 0.738 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.2214, allocations: 110.8 kB / 0.7381 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.2217, allocations: 341.7 kB / 0.7384 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.2218, allocations: 29.7 kB / 0.7384 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.2219, allocations: 232.5 kB / 0.7386 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.222, allocations: 79.31 kB / 0.7387 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.2221, allocations: 53.66 kB / 0.7388 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2223, allocations: 346.8 kB / 0.7391 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.2224, allocations: 71.97 kB / 0.7392 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.2227, allocations: 151.6 kB / 0.7393 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.2231, allocations: 210.8 kB / 0.7395 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2231, allocations: 3.938 kB / 0.7395 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005146/0.2236, allocations: 280.5 kB / 0.7398 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2236, allocations: 4 kB / 0.7398 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2236, allocations: 8.188 kB / 0.7398 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.2236, allocations: 4 kB / 0.7398 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.2239, allocations: 51.91 kB / 0.7398 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2239, allocations: 4 kB / 0.7399 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.2241, allocations: 27.88 kB / 0.7399 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.2241, allocations: 12 kB / 0.7399 GB, free: 5.074 MB / 0.5606 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.0001891/0.2243, allocations: 165.7 kB / 0.74 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.2243, allocations: 39.77 kB / 0.7401 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.2244, allocations: 39.44 kB / 0.7401 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2244, allocations: 4 kB / 0.7401 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2244, allocations: 0 / 0.7401 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2244, allocations: 0 / 0.7401 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.2249, allocations: 368.4 kB / 0.7405 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2249, allocations: 3.938 kB / 0.7405 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.2251, allocations: 39.97 kB / 0.7405 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2251, allocations: 0 / 0.7405 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.2252, allocations: 4 kB / 0.7405 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.2252, allocations: 8 kB / 0.7405 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2252, allocations: 0 / 0.7405 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.2259, allocations: 428.9 kB / 0.7409 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.226, allocations: 55.7 kB / 0.741 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.226, allocations: 8 kB / 0.741 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.2262, allocations: 23.98 kB / 0.741 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.2263, allocations: 11.97 kB / 0.741 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2263, allocations: 8 kB / 0.741 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002615/0.2266, allocations: 239.2 kB / 0.7413 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2266, allocations: 0 / 0.7413 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003495/0.2269, allocations: 75.78 kB / 0.7413 GB, free: 3.516 MB / 0.5606 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.001024/0.2279, allocations: 0.9591 MB / 0.7423 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.2284, allocations: 197.8 kB / 0.7425 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2284, allocations: 4.438 kB / 0.7425 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.2286, allocations: 87.91 kB / 0.7426 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.2292, allocations: 90.47 kB / 0.7426 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.2338, allocations: 3.135 MB / 0.7457 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.2343, allocations: 0.7912 MB / 0.7465 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.2344, allocations: 38.95 kB / 0.7465 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.2346, allocations: 127.4 kB / 0.7466 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.2346, allocations: 0 / 0.7466 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.2788, allocations: 6.946 MB / 0.7534 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.7, allocations: 7.453 kB / 0.7534 GB, free: 7.168 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.07929199499995] Failed to read output from testmodel.py, exit status != 0: 11.813717185999849 12.118037157 11.900747347 Calling exit ...