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.001299/0.001299, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.00141/0.00141, allocations: 204 kB / 20.09 MB, free: 2.977 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.543/1.543, 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 1.043/1.043, allocations: 150 MB / 459.5 MB, free: 5.66 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: 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.001962/0.001962, allocations: 73.03 kB / 0.6366 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2236, allocations: 89.13 MB / 0.7237 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002022/0.2256, allocations: 0.6498 MB / 0.7243 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2267, allocations: 0.8514 MB / 0.7251 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.2268, allocations: 0 / 0.7251 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.2268, allocations: 0 / 0.7251 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.507e-05/0.2268, allocations: 7.922 kB / 0.7252 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.227, allocations: 15.98 kB / 0.7252 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.2271, allocations: 27.88 kB / 0.7252 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.2272, allocations: 7.922 kB / 0.7252 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.2272, allocations: 8 kB / 0.7252 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.2273, allocations: 19.86 kB / 0.7252 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.2273, allocations: 0 / 0.7252 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.2274, allocations: 8 kB / 0.7252 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2274, allocations: 7.984 kB / 0.7252 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.2274, allocations: 7.922 kB / 0.7252 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2275, allocations: 27.91 kB / 0.7253 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2275, allocations: 4 kB / 0.7253 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2275, allocations: 0 / 0.7253 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2275, allocations: 0 / 0.7253 GB, free: 1.848 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.0005123/0.228, allocations: 343.4 kB / 0.7256 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2281, allocations: 8.031 kB / 0.7256 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.2282, allocations: 0.9375 kB / 0.7256 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2283, allocations: 172.3 kB / 0.7258 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2283, allocations: 384 / 0.7258 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.2283, allocations: 384 / 0.7258 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.2285, allocations: 50.25 kB / 0.7258 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2285, allocations: 4.172 kB / 0.7258 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2285, allocations: 3.938 kB / 0.7258 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.2285, allocations: 7.984 kB / 0.7258 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.2287, allocations: 31.91 kB / 0.7259 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.2291, allocations: 244.9 kB / 0.7261 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2292, allocations: 46.53 kB / 0.7262 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.331e-05/0.2293, allocations: 24.91 kB / 0.7262 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.2293, allocations: 0 / 0.7262 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.2294, allocations: 34.5 kB / 0.7262 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2294, allocations: 0 / 0.7262 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000358/0.2297, allocations: 81.64 kB / 0.7263 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.2298, allocations: 55.41 kB / 0.7263 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/0.2299, allocations: 97.84 kB / 0.7264 GB, free: 480 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2299, allocations: 25.7 kB / 0.7265 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.2299, allocations: 84.14 kB / 0.7265 GB, free: 360 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.23, allocations: 7.953 kB / 0.7265 GB, free: 352 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.23, allocations: 13.84 kB / 0.7266 GB, free: 332 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2302, allocations: 322.8 kB / 0.7269 GB, free: 0 / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.93e-05/0.2303, allocations: 15.98 kB / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.2303, allocations: 17.88 kB / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.2305, allocations: 40.77 kB / 0.7269 GB, free: 15.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2305, allocations: 4.062 kB / 0.7269 GB, free: 15.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000205/0.2307, allocations: 69.59 kB / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2307, allocations: 4 kB / 0.727 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2307, allocations: 3.938 kB / 0.727 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2307, allocations: 0 / 0.727 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.2308, allocations: 11.98 kB / 0.727 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2308, allocations: 3.984 kB / 0.727 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.2309, allocations: 15.97 kB / 0.727 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2309, allocations: 3.938 kB / 0.727 GB, free: 15.8 MB / 0.545 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.608e-05/0.231, allocations: 109.8 kB / 0.7272 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.231, allocations: 8 kB / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.2312, allocations: 68.72 kB / 0.7272 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2312, allocations: 0 / 0.7272 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2312, allocations: 0 / 0.7272 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2312, allocations: 4.031 kB / 0.7272 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.2314, allocations: 169.6 kB / 0.7274 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2314, allocations: 0 / 0.7274 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.2315, allocations: 7.984 kB / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2315, allocations: 0 / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2315, allocations: 0 / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2315, allocations: 4 kB / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2315, allocations: 0 / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.2318, allocations: 171.4 kB / 0.7276 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.2318, allocations: 77.11 kB / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.2318, allocations: 0 / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.2319, allocations: 7.984 kB / 0.7276 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.232, allocations: 0 / 0.7276 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.232, allocations: 0 / 0.7276 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.232, allocations: 83.28 kB / 0.7277 GB, free: 15.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.232, allocations: 4.031 kB / 0.7277 GB, free: 15.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002368/0.2322, allocations: 4 kB / 0.7277 GB, free: 15 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.0001839/0.2324, allocations: 99.23 kB / 0.7278 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.2327, allocations: 31.97 kB / 0.7279 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2327, allocations: 4 kB / 0.7279 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2328, allocations: 23.98 kB / 0.7279 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.233, allocations: 11.92 kB / 0.7279 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.2334, allocations: 118 kB / 0.728 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.2337, allocations: 0.6729 MB / 0.7287 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.2337, allocations: 0 / 0.7287 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.2338, allocations: 7.438 kB / 0.7287 GB, free: 13.98 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.2338, allocations: 0 / 0.7287 GB, free: 13.98 MB / 0.545 GB Notification: Performance of Templates: time 0.002652/0.2364, allocations: 449.9 kB / 0.7291 GB, free: 13.54 MB / 0.545 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.2545734730083495] Failed to read output from testmodel.py, exit status != 0: 0.24373182794079185 0.25875070399999994 0.028370543 Calling exit ...