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.00171/0.00171, allocations: 114.9 kB / 17.84 MB, free: 5.336 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.002441/0.002441, allocations: 201.6 kB / 20.8 MB, free: 2.391 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.567/1.567, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.035/1.035, allocations: 150 MB / 460.2 MB, free: 5.219 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="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.002011/0.002011, allocations: 67.19 kB / 0.6369 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1641, allocations: 89.14 MB / 0.7239 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00225/0.1663, allocations: 0.6477 MB / 0.7245 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1674, allocations: 0.8592 MB / 0.7254 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.1675, allocations: 0 / 0.7254 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.1675, allocations: 0 / 0.7254 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.259e-05/0.1676, allocations: 7.938 kB / 0.7254 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.1677, allocations: 7.984 kB / 0.7254 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.039e-05/0.1678, allocations: 31.86 kB / 0.7254 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.1679, allocations: 0 / 0.7254 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.17e-05/0.168, allocations: 8 kB / 0.7254 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.168, allocations: 15.91 kB / 0.7254 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.168, allocations: 4 kB / 0.7254 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.304e-05/0.1681, allocations: 12 kB / 0.7255 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1681, allocations: 3.984 kB / 0.7255 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.1681, allocations: 7.938 kB / 0.7255 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1682, allocations: 24.19 kB / 0.7255 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1682, allocations: 0 / 0.7255 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1682, allocations: 0 / 0.7255 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1682, allocations: 0 / 0.7255 GB, free: 2.305 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.0004764/0.1687, allocations: 343.4 kB / 0.7258 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.1688, allocations: 12.03 kB / 0.7258 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.07e-05/0.1688, allocations: 192 / 0.7258 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.1688, allocations: 38.69 kB / 0.7259 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.1689, allocations: 8.922 kB / 0.7259 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.169, allocations: 172.3 kB / 0.726 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.169, allocations: 4.375 kB / 0.726 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.169, allocations: 384 / 0.726 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1692, allocations: 53.98 kB / 0.7261 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1692, allocations: 4 kB / 0.7261 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1692, allocations: 0 / 0.7261 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1692, allocations: 0 / 0.7261 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1694, allocations: 35.95 kB / 0.7261 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.1698, allocations: 256.8 kB / 0.7264 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1699, allocations: 38.56 kB / 0.7264 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.139e-05/0.17, allocations: 16.91 kB / 0.7264 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1701, allocations: 7.984 kB / 0.7264 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1701, allocations: 30.56 kB / 0.7265 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1701, allocations: 0 / 0.7265 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003711/0.1705, allocations: 85.67 kB / 0.7266 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1705, allocations: 51.41 kB / 0.7266 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.1706, allocations: 101.9 kB / 0.7267 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1706, allocations: 25.7 kB / 0.7267 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.1707, allocations: 84.14 kB / 0.7268 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.1707, allocations: 7.938 kB / 0.7268 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.1707, allocations: 13.72 kB / 0.7268 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1708, allocations: 310.8 kB / 0.7271 GB, free: 416 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.184e-05/0.1709, allocations: 20.02 kB / 0.7271 GB, free: 396 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.171, allocations: 17.88 kB / 0.7272 GB, free: 380 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1712, allocations: 48.75 kB / 0.7272 GB, free: 328 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1712, allocations: 0 / 0.7272 GB, free: 328 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002259/0.1715, allocations: 73.66 kB / 0.7273 GB, free: 248 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1715, allocations: 4 kB / 0.7273 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1715, allocations: 4 kB / 0.7273 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1715, allocations: 0 / 0.7273 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.1716, allocations: 4 kB / 0.7273 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1716, allocations: 3.938 kB / 0.7273 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.1717, allocations: 11.94 kB / 0.7273 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1717, allocations: 0 / 0.7273 GB, free: 220 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 9.021e-05/0.1718, allocations: 117.8 kB / 0.7274 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1718, allocations: 0 / 0.7274 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.172, allocations: 80.7 kB / 0.7275 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.172, allocations: 0 / 0.7275 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.172, allocations: 0 / 0.7275 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.172, allocations: 0 / 0.7275 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.1722, allocations: 157.6 kB / 0.7276 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1722, allocations: 0 / 0.7276 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.1723, allocations: 19.95 kB / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1723, allocations: 0 / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1723, allocations: 0 / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1723, allocations: 0 / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1723, allocations: 0 / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.1726, allocations: 163.6 kB / 0.7278 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.1726, allocations: 81.14 kB / 0.7279 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1726, allocations: 3.984 kB / 0.7279 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.1727, allocations: 11.92 kB / 0.7279 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1728, allocations: 4 kB / 0.7279 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1728, allocations: 0 / 0.7279 GB, free: 15.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.1728, allocations: 87.27 kB / 0.728 GB, free: 15.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1728, allocations: 0 / 0.728 GB, free: 15.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002181/0.173, allocations: 4 kB / 0.728 GB, free: 15.4 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.0006452/0.1737, allocations: 0.6968 MB / 0.7287 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.1739, allocations: 35.94 kB / 0.7287 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1739, allocations: 4.062 kB / 0.7287 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/0.174, allocations: 23.97 kB / 0.7287 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1743, allocations: 2.25 kB / 0.7287 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.1748, allocations: 146.5 kB / 0.7289 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1751, allocations: 0.6768 MB / 0.7295 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.53e-05/0.1752, allocations: 4.062 kB / 0.7295 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.1752, allocations: 11.44 kB / 0.7296 GB, free: 13.71 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1752, allocations: 0 / 0.7296 GB, free: 13.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.1934, allocations: 1.307 MB / 0.7308 GB, free: 12.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.472, allocations: 16.52 kB / 0.7308 GB, free: 12.51 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.544971920026] Failed to read output from testmodel.py, exit status != 0: 8.60850804601796 8.631891949 8.459434124 Calling exit ...