Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001403/0.001403, 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.001575/0.001575, 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.559/1.559, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.068/1.068, allocations: 150 MB / 459.5 MB, free: 5.328 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.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [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.002322/0.002322, allocations: 70.66 kB / 0.6366 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2057, allocations: 89.13 MB / 0.7236 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003109/0.2088, allocations: 1.139 MB / 0.7247 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.2116, allocations: 1.549 MB / 0.7262 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.2119, allocations: 7.938 kB / 0.7263 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.2121, allocations: 31.59 kB / 0.7263 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.2123, allocations: 59.52 kB / 0.7263 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.2138, allocations: 497.7 kB / 0.7268 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009861/0.2148, allocations: 0.5933 MB / 0.7274 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.2151, allocations: 112.4 kB / 0.7275 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004543/0.2156, allocations: 235.4 kB / 0.7277 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.2159, allocations: 207.3 kB / 0.7279 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.2161, allocations: 64 kB / 0.728 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.2163, allocations: 83.84 kB / 0.7281 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2164, allocations: 75.77 kB / 0.7281 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.2167, allocations: 227.1 kB / 0.7284 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000815/0.2175, allocations: 0.6228 MB / 0.729 GB, free: 14.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2175, allocations: 4 kB / 0.729 GB, free: 14.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2175, allocations: 0 / 0.729 GB, free: 14.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.801e-05/0.2175, allocations: 0 / 0.729 GB, free: 14.05 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00139/0.2189, allocations: 0.747 MB / 0.7297 GB, free: 13.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.219, allocations: 12.03 kB / 0.7297 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.2191, allocations: 48.7 kB / 0.7298 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.2203, allocations: 404.1 kB / 0.7301 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.2204, allocations: 24.81 kB / 0.7302 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.685e-05/0.2205, allocations: 32.38 kB / 0.7302 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.221, allocations: 255.7 kB / 0.7304 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.221, allocations: 7.938 kB / 0.7304 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.221, allocations: 12 kB / 0.7305 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.221, allocations: 4 kB / 0.7305 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.2213, allocations: 157.7 kB / 0.7306 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.2229, allocations: 0.857 MB / 0.7314 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.2233, allocations: 212.6 kB / 0.7317 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.2236, allocations: 192.7 kB / 0.7318 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.2236, allocations: 0 / 0.7318 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.224, allocations: 255.9 kB / 0.7321 GB, free: 10.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.224, allocations: 0 / 0.7321 GB, free: 10.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.0008114/0.2248, allocations: 429.5 kB / 0.7325 GB, free: 10.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/0.2249, allocations: 114.8 kB / 0.7326 GB, free: 10.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.2253, allocations: 328.3 kB / 0.7329 GB, free: 9.762 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.2254, allocations: 41.7 kB / 0.733 GB, free: 9.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.2256, allocations: 180.7 kB / 0.7331 GB, free: 9.535 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.2257, allocations: 63.58 kB / 0.7332 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.2259, allocations: 150 kB / 0.7333 GB, free: 9.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2261, allocations: 338.8 kB / 0.7336 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.2265, allocations: 208.7 kB / 0.7338 GB, free: 8.773 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.2271, allocations: 332.7 kB / 0.7342 GB, free: 8.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.2278, allocations: 0.5271 MB / 0.7347 GB, free: 7.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2278, allocations: 4 kB / 0.7347 GB, free: 7.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001844/0.2297, allocations: 0.7328 MB / 0.7354 GB, free: 7.031 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.2298, allocations: 130.7 kB / 0.7355 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.2298, allocations: 4 kB / 0.7355 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.627e-05/0.2299, allocations: 4.406 kB / 0.7355 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.2301, allocations: 63.91 kB / 0.7356 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.2301, allocations: 7.938 kB / 0.7356 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/0.2308, allocations: 131.5 kB / 0.7357 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.231, allocations: 75.86 kB / 0.7358 GB, free: 6.598 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002597/0.2312, allocations: 185.8 kB / 0.736 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.2313, allocations: 35.75 kB / 0.736 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005902/0.2319, allocations: 369.2 kB / 0.7364 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2319, allocations: 4 kB / 0.7364 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2319, allocations: 3.938 kB / 0.7364 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2319, allocations: 3.984 kB / 0.7364 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.233, allocations: 0.7491 MB / 0.7371 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.233, allocations: 0 / 0.7371 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2332, allocations: 43.86 kB / 0.7371 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2332, allocations: 0 / 0.7371 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.2332, allocations: 8 kB / 0.7372 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2332, allocations: 0 / 0.7372 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2332, allocations: 0 / 0.7372 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.2338, allocations: 432.3 kB / 0.7376 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.2339, allocations: 116.7 kB / 0.7377 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.2339, allocations: 11.94 kB / 0.7377 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2341, allocations: 12 kB / 0.7377 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.2341, allocations: 19.97 kB / 0.7377 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.2342, allocations: 15.98 kB / 0.7377 GB, free: 4.508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000248/0.2344, allocations: 215.1 kB / 0.7379 GB, free: 4.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2344, allocations: 3.938 kB / 0.7379 GB, free: 4.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005257/0.2349, allocations: 88 kB / 0.738 GB, free: 4.207 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002185/0.2352, allocations: 129.4 kB / 0.7382 GB, free: 4.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009503/0.2361, allocations: 0.615 MB / 0.7388 GB, free: 3.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.2361, allocations: 4 kB / 0.7388 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.2363, allocations: 132.3 kB / 0.7389 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.2369, allocations: 87.31 kB / 0.739 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2381, allocations: 0.5863 MB / 0.7395 GB, free: 2.578 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.2386, allocations: 0.7769 MB / 0.7403 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.2388, allocations: 71.22 kB / 0.7404 GB, free: 1.707 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.2389, allocations: 39.44 kB / 0.7404 GB, free: 1.668 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.2389, allocations: 0 / 0.7404 GB, free: 1.668 MB / 0.545 GB Notification: Performance of Templates: time 0.01338/0.2522, allocations: 5.526 MB / 0.7458 GB, free: 12.22 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.41612812387757] Failed to read output from testmodel.py, exit status != 0: 0.2611324100289494 0.275200909 0.054658410000000004 Calling exit ...