Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.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.001397/0.001397, 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.001522/0.001522, allocations: 225.2 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9855/0.9855, 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.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan",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.002115/0.002115, allocations: 66.53 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1974, allocations: 89.18 MB / 0.7284 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002503/0.1999, allocations: 0.6556 MB / 0.729 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2015, allocations: 0.8471 MB / 0.7299 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.2016, allocations: 4 kB / 0.7299 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.2016, allocations: 4 kB / 0.7299 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.2017, allocations: 3.938 kB / 0.7299 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.2019, allocations: 11.98 kB / 0.7299 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.883e-05/0.202, allocations: 23.92 kB / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2021, allocations: 4 kB / 0.7299 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.2022, allocations: 15.91 kB / 0.7299 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.2023, allocations: 8 kB / 0.7299 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.2023, allocations: 4 kB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.2023, allocations: 4 kB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.2023, allocations: 15.86 kB / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.2024, allocations: 8 kB / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.2025, allocations: 28.12 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2025, allocations: 0 / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2025, allocations: 3.938 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2025, allocations: 0 / 0.73 GB, free: 15.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005415/0.2031, allocations: 262.3 kB / 0.7303 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.2031, allocations: 8.031 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.2032, allocations: 34.75 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.2032, allocations: 4.922 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2034, allocations: 118.5 kB / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2034, allocations: 384 / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2034, allocations: 4.312 kB / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2036, allocations: 50.23 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2036, allocations: 3.938 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.2036, allocations: 0 / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2036, allocations: 4 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.2038, allocations: 35.91 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.2041, allocations: 224 kB / 0.7307 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.2042, allocations: 34.5 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.2043, allocations: 20.91 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.2043, allocations: 4 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2044, allocations: 38.5 kB / 0.7308 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2044, allocations: 0 / 0.7308 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003617/0.2047, allocations: 81.64 kB / 0.7309 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2048, allocations: 51.41 kB / 0.7309 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.2048, allocations: 105.8 kB / 0.731 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2049, allocations: 25.83 kB / 0.7311 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.2049, allocations: 88.08 kB / 0.7311 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.2049, allocations: 7.953 kB / 0.7312 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.205, allocations: 13.72 kB / 0.7312 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2051, allocations: 314.8 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.2052, allocations: 19.98 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.2053, allocations: 11.98 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.2054, allocations: 48.81 kB / 0.7315 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2054, allocations: 3.938 kB / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000187/0.2056, allocations: 61.67 kB / 0.7316 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2056, allocations: 4 kB / 0.7316 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2056, allocations: 0 / 0.7316 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2057, allocations: 3.984 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.2058, allocations: 12.03 kB / 0.7316 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.2058, allocations: 0 / 0.7316 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.2058, allocations: 11.98 kB / 0.7316 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.2058, allocations: 0 / 0.7316 GB, free: 13.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.691e-05/0.2059, allocations: 111.8 kB / 0.7317 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.2059, allocations: 7.953 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.2062, allocations: 80.84 kB / 0.7318 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2062, allocations: 0 / 0.7318 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2062, allocations: 3.938 kB / 0.7318 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2062, allocations: 3.984 kB / 0.7318 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.2064, allocations: 132.7 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2064, allocations: 0 / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.2064, allocations: 7.984 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2064, allocations: 0 / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2064, allocations: 0 / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2064, allocations: 4 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2064, allocations: 4.031 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.2067, allocations: 167.4 kB / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.2067, allocations: 0 / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2067, allocations: 0 / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.2068, allocations: 7.984 kB / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.2068, allocations: 8.031 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.2068, allocations: 4 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.2069, allocations: 75.28 kB / 0.7322 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2069, allocations: 0 / 0.7322 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002294/0.2071, allocations: 8 kB / 0.7322 GB, free: 13.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006455/0.2078, allocations: 0.7084 MB / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.208, allocations: 35.97 kB / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.208, allocations: 0 / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.414e-05/0.2081, allocations: 19.97 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2084, allocations: 8.156 kB / 0.733 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.2089, allocations: 139.8 kB / 0.7331 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.2092, allocations: 0.6768 MB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.2092, allocations: 0 / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.2092, allocations: 15.38 kB / 0.7338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2092, allocations: 0 / 0.7338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.2371, allocations: 1.371 MB / 0.7351 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.97, allocations: 10.56 kB / 0.7351 GB, free: 10.08 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan_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_OBC_CDL_Reals_Validation_Tan.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.040118461001839] Failed to read output from testmodel.py, exit status != 0: 11.072303694996663 11.096365308 10.88966175 Calling exit ...