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.001321/0.001321, 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.001605/0.001605, 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.977/0.977, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.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.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",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.00214/0.00214, allocations: 66.53 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1673, allocations: 89.17 MB / 0.7284 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002788/0.17, allocations: 1.132 MB / 0.7295 GB, free: 132 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.1724, allocations: 1.556 MB / 0.731 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1726, allocations: 7.938 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1727, allocations: 27.61 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1729, allocations: 71.48 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1741, allocations: 491.4 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007778/0.1748, allocations: 0.5816 MB / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.1751, allocations: 108.9 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.1755, allocations: 231.5 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.1759, allocations: 221.6 kB / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.176, allocations: 60 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.1762, allocations: 75.98 kB / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1763, allocations: 79.69 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.1765, allocations: 227.1 kB / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007219/0.1773, allocations: 0.6228 MB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1773, allocations: 0 / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1773, allocations: 3.938 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.98e-05/0.1773, allocations: 0 / 0.7337 GB, free: 11.79 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001085/0.1784, allocations: 0.6834 MB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1784, allocations: 8.031 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.089e-05/0.1785, allocations: 58.72 kB / 0.7344 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1786, allocations: 48.7 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.1797, allocations: 337.8 kB / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.1797, allocations: 28.8 kB / 0.7348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.1798, allocations: 36.38 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.1802, allocations: 251.5 kB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1802, allocations: 0 / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.1803, allocations: 12 kB / 0.7351 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1803, allocations: 8 kB / 0.7351 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.1806, allocations: 157.7 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.182, allocations: 0.8093 MB / 0.7361 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.1825, allocations: 210.7 kB / 0.7363 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.1827, allocations: 203.1 kB / 0.7365 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1828, allocations: 0 / 0.7365 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.1831, allocations: 247.8 kB / 0.7367 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.1831, allocations: 0 / 0.7367 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0008191/0.1839, allocations: 427.2 kB / 0.7371 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.1841, allocations: 122.7 kB / 0.7372 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.1845, allocations: 324.3 kB / 0.7375 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.1846, allocations: 41.7 kB / 0.7376 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.1848, allocations: 176.8 kB / 0.7377 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.1848, allocations: 63.58 kB / 0.7378 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.1851, allocations: 138 kB / 0.7379 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1852, allocations: 350.8 kB / 0.7383 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.1856, allocations: 216.6 kB / 0.7385 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.1861, allocations: 321 kB / 0.7388 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/0.1868, allocations: 0.531 MB / 0.7393 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1868, allocations: 0 / 0.7393 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001222/0.188, allocations: 0.7444 MB / 0.74 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.1882, allocations: 122.8 kB / 0.7401 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1882, allocations: 4 kB / 0.7401 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1882, allocations: 4 kB / 0.7401 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1884, allocations: 64.25 kB / 0.7402 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1884, allocations: 11.94 kB / 0.7402 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/0.1891, allocations: 135.5 kB / 0.7403 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.1892, allocations: 67.92 kB / 0.7404 GB, free: 4.5 MB / 0.5606 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.00025/0.1894, allocations: 190 kB / 0.7406 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.1895, allocations: 35.77 kB / 0.7406 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/0.1901, allocations: 373.2 kB / 0.741 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1901, allocations: 3.938 kB / 0.741 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.1901, allocations: 8 kB / 0.741 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1901, allocations: 3.984 kB / 0.741 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1911, allocations: 0.7164 MB / 0.7417 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1911, allocations: 3.938 kB / 0.7417 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.1913, allocations: 39.92 kB / 0.7417 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1913, allocations: 0 / 0.7417 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.1913, allocations: 15.98 kB / 0.7418 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1913, allocations: 0 / 0.7418 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1913, allocations: 0 / 0.7418 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.1918, allocations: 432.7 kB / 0.7422 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.1919, allocations: 39.62 kB / 0.7422 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.1919, allocations: 8 kB / 0.7422 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1921, allocations: 11.98 kB / 0.7422 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.1921, allocations: 27.91 kB / 0.7422 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.1921, allocations: 15.98 kB / 0.7423 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002287/0.1924, allocations: 211.1 kB / 0.7425 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1924, allocations: 0 / 0.7425 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004496/0.1928, allocations: 92 kB / 0.7426 GB, free: 2.223 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: 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.0009802/0.1938, allocations: 0.9874 MB / 0.7435 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.1948, allocations: 0.6188 MB / 0.7441 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1948, allocations: 0 / 0.7441 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.195, allocations: 128.7 kB / 0.7442 GB, free: 424 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.1956, allocations: 80.81 kB / 0.7443 GB, free: 348 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.201, allocations: 3.822 MB / 0.7481 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.2016, allocations: 0.7837 MB / 0.7488 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.2018, allocations: 75.22 kB / 0.7489 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.202, allocations: 111.4 kB / 0.749 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of SimCode: time 1.603e-06/0.202, allocations: 0 / 0.749 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.2412, allocations: 8.776 MB / 0.7576 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.83, allocations: 12.19 kB / 0.7576 GB, free: 2.777 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.920700325863436] Failed to read output from testmodel.py, exit status != 0: 11.935153255937621 12.243451433 12.063041318 Calling exit ...