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.002102/0.002102, 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.002398/0.002398, allocations: 221.6 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.021/1.021, allocations: 150 MB / 463.1 MB, free: 10.45 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan") [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.002163/0.002163, allocations: 66.27 kB / 0.6418 GB, free: 9.777 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2146, allocations: 89.18 MB / 0.7289 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002697/0.2173, allocations: 0.6517 MB / 0.7295 GB, free: 0 / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2189, allocations: 0.851 MB / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.2189, allocations: 0 / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.219, allocations: 0 / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.2191, allocations: 7.938 kB / 0.7303 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.2193, allocations: 7.984 kB / 0.7303 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.2194, allocations: 23.94 kB / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2195, allocations: 7.984 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.94e-05/0.2195, allocations: 11.92 kB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.2196, allocations: 11.98 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2196, allocations: 4 kB / 0.7304 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.207e-05/0.2197, allocations: 12 kB / 0.7304 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.2197, allocations: 3.938 kB / 0.7304 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.2197, allocations: 4 kB / 0.7304 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2198, allocations: 39.75 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2198, allocations: 0 / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2198, allocations: 0 / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2198, allocations: 0 / 0.7305 GB, free: 15 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.0004784/0.2203, allocations: 262.3 kB / 0.7307 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2203, allocations: 8.031 kB / 0.7307 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/0.2204, allocations: 8.938 kB / 0.7307 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.2206, allocations: 106.5 kB / 0.7308 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2206, allocations: 8.375 kB / 0.7308 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.2206, allocations: 384 / 0.7308 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.2208, allocations: 54.22 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2208, allocations: 192 / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2208, allocations: 7.875 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2209, allocations: 4 kB / 0.7309 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.221, allocations: 43.89 kB / 0.7309 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.2214, allocations: 212.1 kB / 0.7311 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2216, allocations: 38.5 kB / 0.7312 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.2216, allocations: 20.89 kB / 0.7312 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2217, allocations: 4 kB / 0.7312 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.2217, allocations: 34.56 kB / 0.7312 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2217, allocations: 4 kB / 0.7312 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003677/0.2221, allocations: 77.58 kB / 0.7313 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.2221, allocations: 51.41 kB / 0.7314 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2223, allocations: 109.9 kB / 0.7315 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2223, allocations: 25.7 kB / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.2224, allocations: 88.06 kB / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2224, allocations: 7.953 kB / 0.7316 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.2225, allocations: 13.72 kB / 0.7316 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.2226, allocations: 310.8 kB / 0.7319 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.2227, allocations: 15.98 kB / 0.7319 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/0.2228, allocations: 23.97 kB / 0.7319 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.2229, allocations: 36.77 kB / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.2229, allocations: 4 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000189/0.2231, allocations: 69.59 kB / 0.732 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2231, allocations: 9.875 kB / 0.732 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2232, allocations: 96 / 0.732 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2232, allocations: 4 kB / 0.7321 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.2233, allocations: 7.984 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2233, allocations: 0 / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.2233, allocations: 4 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.2233, allocations: 0 / 0.7321 GB, free: 13.18 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.381e-05/0.2234, allocations: 117.8 kB / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.2234, allocations: 3.953 kB / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.2237, allocations: 80.91 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2237, allocations: 0 / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2237, allocations: 0 / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2237, allocations: 0 / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.2238, allocations: 128.7 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2238, allocations: 3.938 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.2239, allocations: 11.98 kB / 0.7324 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2239, allocations: 0 / 0.7324 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.2239, allocations: 0 / 0.7324 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2239, allocations: 4.031 kB / 0.7324 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2239, allocations: 0 / 0.7324 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.2242, allocations: 167.4 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.2242, allocations: 4 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2242, allocations: 0 / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.2243, allocations: 12.02 kB / 0.7326 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2244, allocations: 4 kB / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.2244, allocations: 0 / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.801e-05/0.2244, allocations: 91.44 kB / 0.7327 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2244, allocations: 0 / 0.7327 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002106/0.2246, allocations: 4 kB / 0.7327 GB, free: 12.48 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.0001383/0.2248, allocations: 95.23 kB / 0.7328 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.225, allocations: 39.95 kB / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.225, allocations: 3.938 kB / 0.7328 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/0.2251, allocations: 23.92 kB / 0.7328 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2254, allocations: 10.75 kB / 0.7328 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.2257, allocations: 106.2 kB / 0.7329 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.2261, allocations: 0.6808 MB / 0.7336 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.2261, allocations: 4 kB / 0.7336 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.2261, allocations: 7.438 kB / 0.7336 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2261, allocations: 0 / 0.7336 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.002892/0.229, allocations: 444.2 kB / 0.734 GB, free: 11.02 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.244377581868321] Failed to read output from testmodel.py, exit status != 0: 0.2381172771565616 0.25437392400000003 0.031300699 Calling exit ...