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.001229/0.001229, allocations: 113.4 kB / 17.12 MB, free: 6.027 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.0014/0.0014, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.511/1.511, 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 0.9832/0.9832, allocations: 150 MB / 459.5 MB, free: 5.656 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.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.002131/0.002131, allocations: 67.66 kB / 0.6362 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1756, allocations: 89.14 MB / 0.7232 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001944/0.1776, allocations: 0.6438 MB / 0.7239 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1787, allocations: 0.8631 MB / 0.7247 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.1787, allocations: 4 kB / 0.7247 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.1787, allocations: 0 / 0.7247 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.1788, allocations: 3.938 kB / 0.7247 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.179, allocations: 11.98 kB / 0.7247 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.179, allocations: 23.88 kB / 0.7247 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1791, allocations: 7.984 kB / 0.7247 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.749e-05/0.1792, allocations: 4 kB / 0.7247 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.1792, allocations: 23.84 kB / 0.7248 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1792, allocations: 4 kB / 0.7248 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.1793, allocations: 8 kB / 0.7248 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.1793, allocations: 4 kB / 0.7248 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.1793, allocations: 11.92 kB / 0.7248 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.1794, allocations: 24.19 kB / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1794, allocations: 0 / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1794, allocations: 0 / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.1795, allocations: 3.938 kB / 0.7248 GB, free: 2.352 MB / 0.5294 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.0004847/0.1799, allocations: 339.5 kB / 0.7251 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.18, allocations: 8.031 kB / 0.7252 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.941e-05/0.18, allocations: 34.75 kB / 0.7252 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.1801, allocations: 4.938 kB / 0.7252 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1803, allocations: 172.3 kB / 0.7254 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1803, allocations: 4.375 kB / 0.7254 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.1803, allocations: 384 / 0.7254 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1805, allocations: 50.23 kB / 0.7254 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1805, allocations: 7.875 kB / 0.7254 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1805, allocations: 0 / 0.7254 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1805, allocations: 0 / 0.7254 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1807, allocations: 35.97 kB / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.181, allocations: 252.9 kB / 0.7257 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.1811, allocations: 38.5 kB / 0.7257 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.1812, allocations: 20.91 kB / 0.7257 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1813, allocations: 4 kB / 0.7258 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1813, allocations: 34.5 kB / 0.7258 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1813, allocations: 0 / 0.7258 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.1816, allocations: 81.64 kB / 0.7259 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1817, allocations: 51.41 kB / 0.7259 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.1818, allocations: 106 kB / 0.726 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1818, allocations: 29.7 kB / 0.726 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.1819, allocations: 84.08 kB / 0.7261 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.1819, allocations: 3.953 kB / 0.7261 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.1819, allocations: 13.72 kB / 0.7261 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.182, allocations: 318.8 kB / 0.7264 GB, free: 472 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.1821, allocations: 11.98 kB / 0.7265 GB, free: 460 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.1822, allocations: 27.92 kB / 0.7265 GB, free: 432 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.1824, allocations: 32.83 kB / 0.7265 GB, free: 396 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.1824, allocations: 7.922 kB / 0.7265 GB, free: 388 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002065/0.1826, allocations: 65.67 kB / 0.7266 GB, free: 316 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1826, allocations: 4 kB / 0.7266 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1826, allocations: 8.094 kB / 0.7266 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1826, allocations: 0 / 0.7266 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.1827, allocations: 11.92 kB / 0.7266 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1827, allocations: 0 / 0.7266 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.1828, allocations: 11.94 kB / 0.7266 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1828, allocations: 0 / 0.7266 GB, free: 280 kB / 0.5294 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 0.0001074/0.1829, allocations: 121.7 kB / 0.7267 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1829, allocations: 0 / 0.7267 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.1831, allocations: 72.78 kB / 0.7268 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1831, allocations: 0 / 0.7268 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1831, allocations: 0 / 0.7268 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1831, allocations: 0 / 0.7268 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.1834, allocations: 161.6 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1834, allocations: 0 / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.1834, allocations: 11.98 kB / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1834, allocations: 0 / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1835, allocations: 4.031 kB / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1835, allocations: 0 / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1835, allocations: 0 / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1837, allocations: 169.3 kB / 0.7271 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.1838, allocations: 77.3 kB / 0.7272 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.1838, allocations: 0 / 0.7272 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.1839, allocations: 16 kB / 0.7272 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1839, allocations: 8 kB / 0.7272 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1839, allocations: 0 / 0.7272 GB, free: 15.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.1839, allocations: 79.28 kB / 0.7273 GB, free: 15.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1839, allocations: 0 / 0.7273 GB, free: 15.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002135/0.1842, allocations: 4 kB / 0.7273 GB, free: 15.47 MB / 0.545 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.0006209/0.1848, allocations: 0.7045 MB / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.185, allocations: 31.97 kB / 0.728 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.185, allocations: 3.938 kB / 0.728 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.1851, allocations: 24.08 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1854, allocations: 7.984 kB / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.1858, allocations: 135.7 kB / 0.7282 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1861, allocations: 0.6806 MB / 0.7289 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.1861, allocations: 4 kB / 0.7289 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.1862, allocations: 11.44 kB / 0.7289 GB, free: 13.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.1862, allocations: 0 / 0.7289 GB, free: 13.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.2142, allocations: 1.274 MB / 0.7301 GB, free: 12.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.242, allocations: 11.8 kB / 0.7301 GB, free: 12.59 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.199947939952835] Failed to read output from testmodel.py, exit status != 0: 8.311708081979305 8.335589238 8.151612875 Calling exit ...