Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001434/0.001434, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001557/0.001557, allocations: 216 kB / 22.99 MB, free: 4.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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9935/0.9935, allocations: 149.9 MB / 463 MB, free: 10.31 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") [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.002146/0.002146, allocations: 66.11 kB / 0.6416 GB, free: 9.555 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2029, allocations: 89.18 MB / 0.7287 GB, free: 464 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002669/0.2056, allocations: 0.9784 MB / 0.7296 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.2073, allocations: 1.022 MB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2074, allocations: 8 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.2076, allocations: 19.73 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.2077, allocations: 23.73 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.208, allocations: 79.78 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.2083, allocations: 176.1 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.2085, allocations: 56.39 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.2086, allocations: 71.78 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.2087, allocations: 75.59 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.2088, allocations: 19.94 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.381e-05/0.2088, allocations: 24 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.2089, allocations: 39.84 kB / 0.7312 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.209, allocations: 71.58 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.2093, allocations: 175.3 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2093, allocations: 0 / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2093, allocations: 0 / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.2093, allocations: 3.938 kB / 0.7315 GB, free: 13.61 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009529/0.2103, allocations: 434.3 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2103, allocations: 15.95 kB / 0.7319 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.2105, allocations: 24.8 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.2108, allocations: 163.7 kB / 0.7321 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2109, allocations: 16.36 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.2109, allocations: 16.38 kB / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.2113, allocations: 180.5 kB / 0.7323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2113, allocations: 0 / 0.7323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.2113, allocations: 12 kB / 0.7323 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2113, allocations: 4 kB / 0.7323 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.2116, allocations: 104.5 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2128, allocations: 439.8 kB / 0.7328 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.2133, allocations: 134.7 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.2135, allocations: 82.73 kB / 0.733 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2135, allocations: 4 kB / 0.733 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/0.2139, allocations: 141 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.2139, allocations: 0 / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0005979/0.2144, allocations: 234.8 kB / 0.7334 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.2145, allocations: 55.41 kB / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2146, allocations: 140.1 kB / 0.7336 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.2147, allocations: 29.7 kB / 0.7336 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2148, allocations: 124.4 kB / 0.7337 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.2149, allocations: 71.42 kB / 0.7338 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.2151, allocations: 37.7 kB / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003921/0.2155, allocations: 322.8 kB / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.2157, allocations: 67.95 kB / 0.7342 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.2161, allocations: 89.67 kB / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.2164, allocations: 155.1 kB / 0.7344 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2164, allocations: 3.938 kB / 0.7344 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006198/0.2171, allocations: 218.9 kB / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2171, allocations: 4 kB / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2171, allocations: 4 kB / 0.7346 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2171, allocations: 0 / 0.7346 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.2173, allocations: 35.97 kB / 0.7347 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2173, allocations: 4 kB / 0.7347 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2175, allocations: 23.88 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.2175, allocations: 8 kB / 0.7347 GB, free: 10.08 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001536/0.2176, allocations: 133.7 kB / 0.7348 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.2177, allocations: 15.91 kB / 0.7348 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.2181, allocations: 186.7 kB / 0.735 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2181, allocations: 0 / 0.735 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2181, allocations: 7.938 kB / 0.735 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.2181, allocations: 3.984 kB / 0.735 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.2191, allocations: 0.5028 MB / 0.7355 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2191, allocations: 0 / 0.7355 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.2193, allocations: 35.97 kB / 0.7356 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2193, allocations: 4 kB / 0.7356 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.2193, allocations: 7.938 kB / 0.7356 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2193, allocations: 4 kB / 0.7356 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.2193, allocations: 7.938 kB / 0.7356 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.22, allocations: 378.4 kB / 0.7359 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.22, allocations: 19.84 kB / 0.736 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.22, allocations: 4 kB / 0.736 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2202, allocations: 20.03 kB / 0.736 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.2203, allocations: 27.89 kB / 0.736 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2203, allocations: 4 kB / 0.736 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.187e-05/0.2204, allocations: 109.3 kB / 0.7361 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2204, allocations: 8 kB / 0.7361 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004458/0.2208, allocations: 39.89 kB / 0.7362 GB, free: 8.473 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001547/0.221, allocations: 115.2 kB / 0.7363 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006523/0.2216, allocations: 147.9 kB / 0.7364 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2216, allocations: 0 / 0.7364 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.2218, allocations: 91.02 kB / 0.7365 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2222, allocations: 25.73 kB / 0.7365 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009371/0.2231, allocations: 378.5 kB / 0.7369 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2234, allocations: 116.6 kB / 0.737 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.897e-05/0.2235, allocations: 13.42 kB / 0.737 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.2236, allocations: 23.44 kB / 0.737 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2236, allocations: 3.938 kB / 0.737 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of Templates: time 0.006364/0.2299, allocations: 1.847 MB / 0.7388 GB, free: 5.688 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.072038279846311] Failed to read output from testmodel.py, exit status != 0: 0.23877742886543274 0.25350332200000003 0.041069622 Calling exit ...