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.001368/0.001368, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001525/0.001525, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.602/1.602, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.048/1.048, allocations: 150 MB / 459.5 MB, free: 5.266 MB / 350.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.002004/0.002004, allocations: 61.28 kB / 0.6361 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2062, allocations: 89.14 MB / 0.7231 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005224/0.2114, allocations: 3 MB / 0.7261 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2135, allocations: 0.9702 MB / 0.727 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.2138, allocations: 19.88 kB / 0.727 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.2141, allocations: 67.31 kB / 0.7271 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.2143, allocations: 91.28 kB / 0.7272 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.2149, allocations: 231 kB / 0.7274 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005719/0.2154, allocations: 495.1 kB / 0.7279 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.2158, allocations: 157.8 kB / 0.728 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.2161, allocations: 195.2 kB / 0.7282 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.2163, allocations: 175 kB / 0.7284 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.2164, allocations: 44 kB / 0.7284 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.2165, allocations: 48 kB / 0.7285 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.72e-05/0.2166, allocations: 99.56 kB / 0.7286 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.2168, allocations: 202.9 kB / 0.7288 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006949/0.2175, allocations: 0.5173 MB / 0.7293 GB, free: 13.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2175, allocations: 0 / 0.7293 GB, free: 13.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2175, allocations: 0 / 0.7293 GB, free: 13.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.2175, allocations: 0 / 0.7293 GB, free: 13.78 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.001265/0.2188, allocations: 0.7242 MB / 0.73 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2188, allocations: 12.03 kB / 0.73 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.908e-05/0.2189, allocations: 66.72 kB / 0.73 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.2191, allocations: 64.53 kB / 0.7301 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/0.2198, allocations: 404.7 kB / 0.7305 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.2198, allocations: 24.97 kB / 0.7305 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.2199, allocations: 28.38 kB / 0.7305 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.2205, allocations: 337.3 kB / 0.7309 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2205, allocations: 11.88 kB / 0.7309 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.2205, allocations: 12 kB / 0.7309 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2205, allocations: 4 kB / 0.7309 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.221, allocations: 214.1 kB / 0.7311 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.2226, allocations: 1.178 MB / 0.7322 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/0.2233, allocations: 233.2 kB / 0.7325 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.2235, allocations: 110.3 kB / 0.7326 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2235, allocations: 0 / 0.7326 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.2236, allocations: 42.94 kB / 0.7326 GB, free: 10.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.042e-06/0.2236, allocations: 0 / 0.7326 GB, free: 10.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0007107/0.2243, allocations: 293.2 kB / 0.7329 GB, free: 9.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.2244, allocations: 102.8 kB / 0.733 GB, free: 9.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.2248, allocations: 341.7 kB / 0.7333 GB, free: 9.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.2248, allocations: 33.7 kB / 0.7333 GB, free: 9.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.225, allocations: 224.5 kB / 0.7336 GB, free: 9.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.2251, allocations: 83.31 kB / 0.7336 GB, free: 9.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-05/0.2252, allocations: 57.64 kB / 0.7337 GB, free: 8.957 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2253, allocations: 342.8 kB / 0.734 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.2255, allocations: 75.95 kB / 0.7341 GB, free: 8.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.2258, allocations: 147.7 kB / 0.7342 GB, free: 8.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.2262, allocations: 214.7 kB / 0.7344 GB, free: 8.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2262, allocations: 7.938 kB / 0.7344 GB, free: 8.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005389/0.2267, allocations: 273.2 kB / 0.7347 GB, free: 7.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2267, allocations: 9.719 kB / 0.7347 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2267, allocations: 4.188 kB / 0.7347 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2268, allocations: 8 kB / 0.7347 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.227, allocations: 55.91 kB / 0.7348 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.227, allocations: 4 kB / 0.7348 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.2272, allocations: 27.88 kB / 0.7348 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.2272, allocations: 8 kB / 0.7348 GB, free: 7.742 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.0001687/0.2274, allocations: 161.7 kB / 0.735 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.2274, allocations: 39.75 kB / 0.735 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.523e-05/0.2275, allocations: 43.36 kB / 0.7351 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2275, allocations: 4 kB / 0.7351 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2275, allocations: 0 / 0.7351 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2275, allocations: 3.984 kB / 0.7351 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.228, allocations: 401.2 kB / 0.7354 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.228, allocations: 0 / 0.7354 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.2282, allocations: 43.92 kB / 0.7355 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2282, allocations: 3.938 kB / 0.7355 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2283, allocations: 7.984 kB / 0.7355 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2283, allocations: 0 / 0.7355 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2283, allocations: 4 kB / 0.7355 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.229, allocations: 437.3 kB / 0.7359 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.2291, allocations: 124.8 kB / 0.736 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.2292, allocations: 11.98 kB / 0.7361 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2294, allocations: 20.05 kB / 0.7361 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.2294, allocations: 15.98 kB / 0.7361 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.2295, allocations: 7.984 kB / 0.7361 GB, free: 6.348 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002779/0.2297, allocations: 239.2 kB / 0.7363 GB, free: 6.117 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2297, allocations: 0 / 0.7363 GB, free: 6.117 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003374/0.2301, allocations: 63.84 kB / 0.7364 GB, free: 6.055 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.001104/0.2312, allocations: 0.9659 MB / 0.7373 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.2317, allocations: 194.7 kB / 0.7375 GB, free: 4.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2317, allocations: 4.438 kB / 0.7375 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.2319, allocations: 95.91 kB / 0.7376 GB, free: 4.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.2324, allocations: 79.23 kB / 0.7377 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/0.2379, allocations: 3.131 MB / 0.7407 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.2385, allocations: 0.795 MB / 0.7415 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.2387, allocations: 30.97 kB / 0.7415 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.2389, allocations: 127.4 kB / 0.7417 GB, free: 496 kB / 0.545 GB Notification: Performance of SimCode: time 1.312e-06/0.2389, allocations: 4 kB / 0.7417 GB, free: 492 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03969/0.2786, allocations: 6.724 MB / 0.7482 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/8.741, allocations: 8.516 kB / 0.7482 GB, free: 9.902 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.962228214135394] Failed to read output from testmodel.py, exit status != 0: 8.814716932130978 8.840422105 8.61803688 Calling exit ...