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.001621/0.001621, allocations: 109 kB / 20.48 MB, free: 1.477 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.001912/0.001912, allocations: 213.8 kB / 23.79 MB, free: 4.684 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.497/1.497, allocations: 230.6 MB / 257.6 MB, free: 8 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.032/1.032, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="cs",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.002286/0.002286, allocations: 66.2 kB / 0.6421 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1947, allocations: 89.17 MB / 0.7292 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001935/0.1967, allocations: 0.6595 MB / 0.7298 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1978, allocations: 0.8432 MB / 0.7306 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.1979, allocations: 0 / 0.7306 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.1979, allocations: 0 / 0.7306 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.198, allocations: 7.938 kB / 0.7306 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1981, allocations: 7.984 kB / 0.7306 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.26e-05/0.1982, allocations: 27.92 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.24e-05/0.1983, allocations: 8 kB / 0.7307 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.1983, allocations: 19.84 kB / 0.7307 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.1984, allocations: 11.94 kB / 0.7307 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1984, allocations: 4 kB / 0.7307 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/0.1984, allocations: 8 kB / 0.7307 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1985, allocations: 3.984 kB / 0.7307 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1985, allocations: 7.938 kB / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.1986, allocations: 28.17 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1986, allocations: 0 / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1986, allocations: 3.938 kB / 0.7308 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1986, allocations: 0 / 0.7308 GB, free: 15.56 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.0004145/0.199, allocations: 266.3 kB / 0.731 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.199, allocations: 8.031 kB / 0.731 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.537e-05/0.1991, allocations: 8.125 kB / 0.731 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.1991, allocations: 34.75 kB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.817e-05/0.1992, allocations: 4.922 kB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1993, allocations: 110.5 kB / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1993, allocations: 4.375 kB / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1993, allocations: 384 / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1995, allocations: 57.98 kB / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1995, allocations: 0 / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1995, allocations: 0 / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1995, allocations: 0 / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1997, allocations: 43.88 kB / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.2, allocations: 216 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.2001, allocations: 38.56 kB / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.2002, allocations: 24.91 kB / 0.7315 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2002, allocations: 0 / 0.7315 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.2003, allocations: 34.55 kB / 0.7316 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2003, allocations: 0 / 0.7316 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003694/0.2006, allocations: 81.59 kB / 0.7317 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2007, allocations: 59.39 kB / 0.7317 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.255e-05/0.2008, allocations: 93.86 kB / 0.7318 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2008, allocations: 25.7 kB / 0.7318 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.2008, allocations: 92.08 kB / 0.7319 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.2008, allocations: 3.953 kB / 0.7319 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.2009, allocations: 17.83 kB / 0.7319 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.201, allocations: 318.8 kB / 0.7322 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.2011, allocations: 11.98 kB / 0.7322 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/0.2012, allocations: 15.98 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.2013, allocations: 48.69 kB / 0.7323 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2013, allocations: 4.062 kB / 0.7323 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.2015, allocations: 61.67 kB / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2015, allocations: 7.938 kB / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2015, allocations: 3.984 kB / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2016, allocations: 0 / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.2016, allocations: 8 kB / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2016, allocations: 0 / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.2017, allocations: 12.02 kB / 0.7324 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.2017, allocations: 3.938 kB / 0.7324 GB, free: 13.68 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 7.448e-05/0.2018, allocations: 109.8 kB / 0.7325 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.2018, allocations: 11.95 kB / 0.7325 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.202, allocations: 68.91 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.202, allocations: 3.984 kB / 0.7326 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.202, allocations: 0 / 0.7326 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2021, allocations: 8.031 kB / 0.7326 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2022, allocations: 128.7 kB / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2022, allocations: 0 / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.2023, allocations: 7.984 kB / 0.7327 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2023, allocations: 0 / 0.7327 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2023, allocations: 4 kB / 0.7327 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2023, allocations: 0 / 0.7327 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2023, allocations: 0 / 0.7327 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.2025, allocations: 171.4 kB / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.2025, allocations: 0 / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2026, allocations: 4 kB / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.2026, allocations: 7.984 kB / 0.7329 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.2027, allocations: 0 / 0.7329 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2027, allocations: 8 kB / 0.7329 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.2027, allocations: 75.28 kB / 0.733 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2027, allocations: 8.031 kB / 0.733 GB, free: 13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002164/0.2029, allocations: 3.984 kB / 0.733 GB, free: 13 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.0005558/0.2035, allocations: 0.7044 MB / 0.7337 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.2037, allocations: 39.94 kB / 0.7337 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2037, allocations: 0 / 0.7337 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.2038, allocations: 23.97 kB / 0.7337 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2041, allocations: 2.812 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.2045, allocations: 143.9 kB / 0.7339 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.2048, allocations: 0.6807 MB / 0.7346 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.2049, allocations: 0 / 0.7346 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.2049, allocations: 11.44 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2049, allocations: 3.938 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.2263, allocations: 1.404 MB / 0.7359 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.43, allocations: 5.953 kB / 0.7359 GB, free: 10.04 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.446540273027495] Failed to read output from testmodel.py, exit status != 0: 11.599483210011385 11.625515374 11.421669145 Calling exit ...