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.001211/0.001211, allocations: 97.17 kB / 19.74 MB, free: 1.871 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.001318/0.001318, allocations: 203.3 kB / 23.04 MB, free: 5.008 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 179] 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.8689/0.8689, allocations: 150 MB / 463.2 MB, free: 10.18 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.001889/0.001889, allocations: 70.27 kB / 0.6413 GB, free: 9.777 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1511, allocations: 89.17 MB / 0.7284 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001671/0.1528, allocations: 0.6535 MB / 0.729 GB, free: 28 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.1537, allocations: 0.8393 MB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.1537, allocations: 0 / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.1537, allocations: 3.938 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.1538, allocations: 4 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.1539, allocations: 15.92 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.035e-05/0.154, allocations: 23.92 kB / 0.7299 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.48e-05/0.1541, allocations: 11.98 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.1541, allocations: 7.938 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.1542, allocations: 11.98 kB / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1542, allocations: 4 kB / 0.7299 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.1542, allocations: 4 kB / 0.7299 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.1542, allocations: 7.938 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.1542, allocations: 3.984 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.764e-05/0.1543, allocations: 36.11 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1543, allocations: 0 / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1543, allocations: 0 / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1543, allocations: 0 / 0.73 GB, free: 15.04 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.0003685/0.1547, allocations: 266.3 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.1547, allocations: 8.031 kB / 0.7302 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.1548, allocations: 34.75 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.1548, allocations: 0.9375 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.338e-05/0.1549, allocations: 114.5 kB / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.1549, allocations: 384 / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.1549, allocations: 4.312 kB / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1551, allocations: 50.19 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1551, allocations: 3.938 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.1551, allocations: 7.984 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1551, allocations: 3.984 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1553, allocations: 31.97 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.1555, allocations: 212.1 kB / 0.7307 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1556, allocations: 42.44 kB / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.352e-05/0.1557, allocations: 24.91 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.1557, allocations: 4 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1558, allocations: 34.5 kB / 0.7308 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1558, allocations: 0 / 0.7308 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003158/0.1561, allocations: 81.64 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.1561, allocations: 51.41 kB / 0.7309 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.1562, allocations: 101.8 kB / 0.731 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1562, allocations: 29.7 kB / 0.731 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.1562, allocations: 88.08 kB / 0.7311 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.1563, allocations: 8.078 kB / 0.7311 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.1563, allocations: 13.72 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1564, allocations: 318.8 kB / 0.7315 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.1565, allocations: 11.98 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.1565, allocations: 19.98 kB / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1567, allocations: 40.81 kB / 0.7315 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1567, allocations: 8 kB / 0.7315 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/0.1569, allocations: 57.67 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1569, allocations: 8 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1569, allocations: 3.938 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.1569, allocations: 0 / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.157, allocations: 7.984 kB / 0.7316 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.157, allocations: 0 / 0.7316 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.157, allocations: 7.984 kB / 0.7316 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.157, allocations: 8.031 kB / 0.7316 GB, free: 13.17 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 6.599e-05/0.1571, allocations: 113.8 kB / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1571, allocations: 3.953 kB / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.1573, allocations: 68.97 kB / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1573, allocations: 0 / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1573, allocations: 0 / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1573, allocations: 3.984 kB / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1575, allocations: 124.7 kB / 0.7319 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1575, allocations: 8.031 kB / 0.7319 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.1575, allocations: 11.92 kB / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1575, allocations: 0 / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1575, allocations: 4 kB / 0.7319 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1575, allocations: 3.938 kB / 0.7319 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1575, allocations: 0 / 0.7319 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1578, allocations: 167.5 kB / 0.7321 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.1578, allocations: 3.938 kB / 0.7321 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.1578, allocations: 4.031 kB / 0.7321 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.1578, allocations: 7.984 kB / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.1579, allocations: 0 / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1579, allocations: 4 kB / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.1579, allocations: 83.27 kB / 0.7322 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1579, allocations: 4 kB / 0.7322 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001963/0.1581, allocations: 0 / 0.7322 GB, free: 12.49 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.0004975/0.1586, allocations: 0.7045 MB / 0.7329 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1588, allocations: 35.95 kB / 0.7329 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1588, allocations: 0 / 0.7329 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.1589, allocations: 23.92 kB / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.1591, allocations: 4 kB / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.1595, allocations: 143.9 kB / 0.7331 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.1595, allocations: 59.34 kB / 0.7332 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.1595, allocations: 0 / 0.7332 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.1596, allocations: 15.44 kB / 0.7332 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1596, allocations: 0 / 0.7332 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1855, allocations: 1.812 MB / 0.7349 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.817/10, allocations: 6.797 kB / 0.7349 GB, free: 9.746 MB / 0.5606 GB " [Timeout remaining time 650] (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: 13.379994268063456] Failed to read output from testmodel.py, exit status != 0: 10.105562323937193 10.119551559 9.962576754 Calling exit ...