Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.001788/0.001788, 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.00212/0.00212, allocations: 224.4 kB / 23.01 MB, free: 5.051 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.984 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 0.974/0.974, allocations: 150 MB / 463.2 MB, free: 10.49 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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",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: 62.5 kB / 0.6412 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1841, allocations: 89.17 MB / 0.7283 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.003031/0.1871, allocations: 1.49 MB / 0.7298 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009225/0.188, allocations: 482.8 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.1881, allocations: 0 / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.1881, allocations: 7.938 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.62e-05/0.1882, allocations: 15.88 kB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1883, allocations: 27.95 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1884, allocations: 43.86 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1885, allocations: 15.92 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.1886, allocations: 19.98 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.1887, allocations: 19.86 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1887, allocations: 8 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.1887, allocations: 4 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.1887, allocations: 15.97 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.1888, allocations: 23.88 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.1889, allocations: 48.09 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1889, allocations: 3.938 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1889, allocations: 0 / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1889, allocations: 0 / 0.7305 GB, free: 15.09 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005096/0.1894, allocations: 278.3 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1895, allocations: 12.03 kB / 0.7308 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.1895, allocations: 34.75 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.1895, allocations: 8.891 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1897, allocations: 118.5 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1897, allocations: 8.297 kB / 0.7309 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1897, allocations: 8.375 kB / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1898, allocations: 65.75 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1898, allocations: 0 / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1898, allocations: 0 / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1898, allocations: 0 / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.284e-05/0.1899, allocations: 27.98 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.1904, allocations: 279.7 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1906, allocations: 50.56 kB / 0.7313 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.1906, allocations: 20.95 kB / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1906, allocations: 0 / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.1908, allocations: 75.41 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1908, allocations: 4 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002362/0.191, allocations: 101.6 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.1911, allocations: 59.41 kB / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.1912, allocations: 101.8 kB / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/0.1913, allocations: 29.7 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.1913, allocations: 88.09 kB / 0.7318 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1914, allocations: 27.78 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.1914, allocations: 29.7 kB / 0.7318 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.1916, allocations: 318.8 kB / 0.7321 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.1917, allocations: 19.98 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.1917, allocations: 45.33 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1918, allocations: 71.53 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1918, allocations: 0 / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001739/0.192, allocations: 93.62 kB / 0.7324 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.192, allocations: 11.94 kB / 0.7324 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.192, allocations: 0 / 0.7324 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1921, allocations: 3.938 kB / 0.7324 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.1921, allocations: 11.98 kB / 0.7324 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1922, allocations: 4 kB / 0.7324 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.1922, allocations: 7.953 kB / 0.7324 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1922, allocations: 7.938 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001207/0.1924, allocations: 127.8 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1924, allocations: 7.938 kB / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.1924, allocations: 8.062 kB / 0.7325 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1924, allocations: 3.938 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1924, allocations: 0 / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1924, allocations: 64 / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.193, allocations: 337.4 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.193, allocations: 0 / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.193, allocations: 7.984 kB / 0.7329 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.193, allocations: 4 kB / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.193, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.193, allocations: 3.938 kB / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.193, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1932, allocations: 179.5 kB / 0.7331 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.1932, allocations: 7.953 kB / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.1932, allocations: 0 / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.1933, allocations: 11.94 kB / 0.7331 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1933, allocations: 11.98 kB / 0.7331 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1933, allocations: 7.984 kB / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.1934, allocations: 83.28 kB / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1934, allocations: 0 / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002281/0.1936, allocations: 8.188 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005021/0.1941, allocations: 0.724 MB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1943, allocations: 55.84 kB / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1943, allocations: 0 / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.1943, allocations: 24 kB / 0.734 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.1946, allocations: 16.22 kB / 0.734 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.196, allocations: 1.388 MB / 0.7353 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1964, allocations: 0.6885 MB / 0.736 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.1964, allocations: 4 kB / 0.736 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.1964, allocations: 19.44 kB / 0.736 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.1964, allocations: 0 / 0.736 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.2256, allocations: 1.911 MB / 0.7379 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.81, allocations: 8.125 kB / 0.7379 GB, free: 7.184 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.798785214999953] Failed to read output from testmodel.py, exit status != 0: 10.911897037000017 10.928023227 10.736041124 Calling exit ...