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.001406/0.001406, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001507/0.001507, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9914/0.9914, allocations: 149.9 MB / 463.1 MB, free: 10.34 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.002143/0.002143, allocations: 66.42 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.183, allocations: 89.18 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002934/0.186, allocations: 1.058 MB / 0.7292 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.1886, allocations: 1.525 MB / 0.7307 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1888, allocations: 7.938 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.189, allocations: 35.59 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.1892, allocations: 67.5 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.1908, allocations: 496.5 kB / 0.7313 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009096/0.1918, allocations: 0.5816 MB / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.1921, allocations: 100.9 kB / 0.7319 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.1924, allocations: 235.4 kB / 0.7322 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.1928, allocations: 183.3 kB / 0.7323 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.1929, allocations: 60 kB / 0.7324 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.1931, allocations: 79.92 kB / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1932, allocations: 75.7 kB / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.1935, allocations: 207.2 kB / 0.7327 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007945/0.1943, allocations: 0.6268 MB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1943, allocations: 0 / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1943, allocations: 0 / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.13e-05/0.1943, allocations: 0 / 0.7334 GB, free: 11.73 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.001257/0.1956, allocations: 0.6795 MB / 0.734 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1956, allocations: 12.03 kB / 0.734 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.096e-05/0.1957, allocations: 58.72 kB / 0.7341 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.1958, allocations: 44.7 kB / 0.7341 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.1969, allocations: 337.8 kB / 0.7344 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.1969, allocations: 28.8 kB / 0.7345 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.197, allocations: 36.38 kB / 0.7345 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.1975, allocations: 380 kB / 0.7349 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1975, allocations: 0 / 0.7349 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.1976, allocations: 12 kB / 0.7349 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1976, allocations: 4 kB / 0.7349 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.1979, allocations: 161.7 kB / 0.735 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.1994, allocations: 0.7236 MB / 0.7357 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.1997, allocations: 210.7 kB / 0.7359 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.2, allocations: 193.7 kB / 0.7361 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2001, allocations: 4 kB / 0.7361 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.2005, allocations: 350.6 kB / 0.7365 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 4.919e-06/0.2005, allocations: 7.984 kB / 0.7365 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.000776/0.2013, allocations: 431.2 kB / 0.7369 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.2014, allocations: 114.8 kB / 0.737 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.2017, allocations: 336.3 kB / 0.7373 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.2018, allocations: 37.7 kB / 0.7374 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.202, allocations: 176.8 kB / 0.7375 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.202, allocations: 71.45 kB / 0.7376 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.2023, allocations: 146 kB / 0.7377 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2025, allocations: 342.8 kB / 0.7381 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.2029, allocations: 331.5 kB / 0.7384 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.2036, allocations: 0.503 MB / 0.7389 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007395/0.2043, allocations: 0.5311 MB / 0.7394 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2043, allocations: 0 / 0.7394 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001341/0.2056, allocations: 0.8721 MB / 0.7402 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.2057, allocations: 123.2 kB / 0.7404 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2058, allocations: 4 kB / 0.7404 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.2058, allocations: 8 kB / 0.7404 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.206, allocations: 63.84 kB / 0.7404 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.206, allocations: 4 kB / 0.7404 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.2067, allocations: 135.5 kB / 0.7406 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.2069, allocations: 71.84 kB / 0.7406 GB, free: 3.723 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.0002438/0.2071, allocations: 189.7 kB / 0.7408 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.2072, allocations: 31.81 kB / 0.7408 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.2078, allocations: 369.5 kB / 0.7412 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.2078, allocations: 7.938 kB / 0.7412 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2078, allocations: 0 / 0.7412 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2078, allocations: 3.984 kB / 0.7412 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.2088, allocations: 0.693 MB / 0.7419 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.2088, allocations: 7.922 kB / 0.7419 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2089, allocations: 39.92 kB / 0.7419 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2089, allocations: 4 kB / 0.7419 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.209, allocations: 4 kB / 0.7419 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.209, allocations: 0 / 0.7419 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.209, allocations: 0 / 0.7419 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.2095, allocations: 444.7 kB / 0.7424 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.2096, allocations: 31.69 kB / 0.7424 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.2096, allocations: 15.94 kB / 0.7424 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.2097, allocations: 8 kB / 0.7424 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.2098, allocations: 23.95 kB / 0.7424 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2098, allocations: 12 kB / 0.7424 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002528/0.2101, allocations: 215.1 kB / 0.7426 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2101, allocations: 4 kB / 0.7427 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004302/0.2105, allocations: 103.8 kB / 0.7428 GB, free: 1.465 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.0009337/0.2114, allocations: 0.9796 MB / 0.7437 GB, free: 468 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.2125, allocations: 0.7434 MB / 0.7444 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2125, allocations: 4.125 kB / 0.7444 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.2127, allocations: 128.4 kB / 0.7446 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.2132, allocations: 78.86 kB / 0.7446 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.2189, allocations: 4.349 MB / 0.7489 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.2191, allocations: 185.5 kB / 0.7491 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.2193, allocations: 67.23 kB / 0.7491 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.2195, allocations: 115.4 kB / 0.7492 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of SimCode: time 5.72e-07/0.2195, allocations: 0 / 0.7492 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/0.2621, allocations: 9.634 MB / 0.7586 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.8, allocations: 14.27 kB / 0.7587 GB, free: 1.062 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: 16.025526707991958] Failed to read output from testmodel.py, exit status != 0: 12.322705041151494 12.335650324 12.138332657 Calling exit ...