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.001616/0.001616, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001732/0.001732, allocations: 220.6 kB / 23 MB, free: 4.973 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.609/1.609, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.014/1.014, allocations: 149.9 MB / 463 MB, free: 10.34 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.002414/0.002414, allocations: 70.62 kB / 0.641 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1882, allocations: 89.18 MB / 0.7281 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004864/0.1931, allocations: 2.803 MB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1952, allocations: 0.9314 MB / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.1955, allocations: 15.88 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1957, allocations: 67.31 kB / 0.7319 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1959, allocations: 95.19 kB / 0.732 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.1965, allocations: 234.5 kB / 0.7322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005287/0.197, allocations: 491.2 kB / 0.7326 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.1973, allocations: 142.4 kB / 0.7328 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.1976, allocations: 203.2 kB / 0.733 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1978, allocations: 159 kB / 0.7331 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.1979, allocations: 44 kB / 0.7332 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.198, allocations: 44 kB / 0.7332 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.1981, allocations: 99.62 kB / 0.7333 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1982, allocations: 159.1 kB / 0.7335 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006285/0.1989, allocations: 0.5212 MB / 0.734 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1989, allocations: 0 / 0.734 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1989, allocations: 0 / 0.734 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.1989, allocations: 0 / 0.734 GB, free: 11.05 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.001179/0.2001, allocations: 0.6528 MB / 0.7346 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2001, allocations: 8.031 kB / 0.7346 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.767e-05/0.2002, allocations: 66.66 kB / 0.7347 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.2004, allocations: 64.59 kB / 0.7347 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.2011, allocations: 341.5 kB / 0.7351 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.2011, allocations: 25.03 kB / 0.7351 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/0.2012, allocations: 36.36 kB / 0.7351 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.2019, allocations: 414.6 kB / 0.7355 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.2019, allocations: 3.938 kB / 0.7355 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.2019, allocations: 19.94 kB / 0.7355 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2019, allocations: 8 kB / 0.7355 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004901/0.2024, allocations: 206.5 kB / 0.7357 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.204, allocations: 1.02 MB / 0.7367 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.2046, allocations: 226.7 kB / 0.737 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.2048, allocations: 104.8 kB / 0.7371 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.2048, allocations: 4 kB / 0.7371 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.2049, allocations: 34.94 kB / 0.7371 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.2049, allocations: 0 / 0.7371 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0007206/0.2056, allocations: 290.9 kB / 0.7374 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.2057, allocations: 114.8 kB / 0.7375 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.2061, allocations: 341.7 kB / 0.7378 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.2062, allocations: 33.69 kB / 0.7378 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.2064, allocations: 228.5 kB / 0.7381 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.2064, allocations: 79.27 kB / 0.7381 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2065, allocations: 53.7 kB / 0.7382 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2067, allocations: 342.8 kB / 0.7385 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.2069, allocations: 71.95 kB / 0.7386 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.2072, allocations: 203.1 kB / 0.7388 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.2076, allocations: 213.2 kB / 0.739 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2076, allocations: 3.938 kB / 0.739 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005511/0.2082, allocations: 281.2 kB / 0.7392 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2082, allocations: 5.875 kB / 0.7393 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2082, allocations: 4 kB / 0.7393 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2082, allocations: 0 / 0.7393 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2085, allocations: 59.91 kB / 0.7393 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2085, allocations: 0 / 0.7393 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.2087, allocations: 39.77 kB / 0.7394 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.2087, allocations: 8.188 kB / 0.7394 GB, free: 5.207 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.0001993/0.2089, allocations: 169.7 kB / 0.7395 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.209, allocations: 35.77 kB / 0.7396 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2091, allocations: 39.45 kB / 0.7396 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2091, allocations: 11.92 kB / 0.7396 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2091, allocations: 0 / 0.7396 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2091, allocations: 0 / 0.7396 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.2095, allocations: 328.5 kB / 0.7399 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2095, allocations: 3.938 kB / 0.7399 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.2098, allocations: 43.97 kB / 0.74 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.2098, allocations: 3.984 kB / 0.74 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2098, allocations: 4 kB / 0.74 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2098, allocations: 4 kB / 0.74 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2098, allocations: 0 / 0.74 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.2105, allocations: 432.5 kB / 0.7404 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.2106, allocations: 55.75 kB / 0.7404 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.2107, allocations: 8 kB / 0.7404 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2109, allocations: 20.05 kB / 0.7405 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.2109, allocations: 23.95 kB / 0.7405 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.211, allocations: 4 kB / 0.7405 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002647/0.2112, allocations: 243.2 kB / 0.7407 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2112, allocations: 0 / 0.7407 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003322/0.2116, allocations: 63.84 kB / 0.7408 GB, free: 3.676 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.001073/0.2126, allocations: 0.9637 MB / 0.7417 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004661/0.2131, allocations: 191.9 kB / 0.7419 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2131, allocations: 3.938 kB / 0.7419 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.2133, allocations: 95.91 kB / 0.742 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.2138, allocations: 78.77 kB / 0.7421 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.2183, allocations: 3.145 MB / 0.7452 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2185, allocations: 191.1 kB / 0.7453 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.2187, allocations: 38.95 kB / 0.7454 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.2189, allocations: 123.4 kB / 0.7455 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.2189, allocations: 0 / 0.7455 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.2592, allocations: 7.493 MB / 0.7528 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.82, allocations: 5.031 kB / 0.7528 GB, free: 7.434 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.443058541975915] Failed to read output from testmodel.py, exit status != 0: 11.940791730768979 12.275295134 12.072369189 Calling exit ...