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.001258/0.001258, allocations: 105 kB / 20.48 MB, free: 1.48 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.00145/0.00145, allocations: 218 kB / 23.79 MB, free: 4.699 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.469/1.469, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.001/1.001, allocations: 150 MB / 464 MB, free: 10.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="cs",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.002031/0.002031, allocations: 69.52 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2083, allocations: 89.17 MB / 0.7291 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003001/0.2113, allocations: 1.139 MB / 0.7302 GB, free: 196 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.2141, allocations: 1.56 MB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.2143, allocations: 4 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.2146, allocations: 31.59 kB / 0.7318 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.2148, allocations: 67.44 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.2162, allocations: 497 kB / 0.7323 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009728/0.2172, allocations: 0.5816 MB / 0.7329 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.2175, allocations: 112.9 kB / 0.733 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.218, allocations: 227.5 kB / 0.7332 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005171/0.2185, allocations: 221.8 kB / 0.7334 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.2187, allocations: 60 kB / 0.7335 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.2189, allocations: 71.98 kB / 0.7335 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.219, allocations: 79.69 kB / 0.7336 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.2194, allocations: 227.1 kB / 0.7338 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009788/0.2204, allocations: 0.6267 MB / 0.7345 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.2204, allocations: 4 kB / 0.7345 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2204, allocations: 4 kB / 0.7345 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.2204, allocations: 0 / 0.7345 GB, free: 11.85 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.001431/0.2218, allocations: 0.6756 MB / 0.7351 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.2219, allocations: 8.031 kB / 0.7351 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.704e-05/0.2219, allocations: 4.625 kB / 0.7351 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.663e-05/0.222, allocations: 62.66 kB / 0.7352 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.2221, allocations: 48.7 kB / 0.7352 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.2231, allocations: 333.8 kB / 0.7356 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.2232, allocations: 28.8 kB / 0.7356 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.2233, allocations: 36.38 kB / 0.7356 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.2239, allocations: 255.3 kB / 0.7359 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2239, allocations: 0 / 0.7359 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.2239, allocations: 12 kB / 0.7359 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2239, allocations: 4 kB / 0.7359 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.2242, allocations: 165.6 kB / 0.736 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.2257, allocations: 0.8093 MB / 0.7368 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.2261, allocations: 206.8 kB / 0.737 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.2265, allocations: 200.7 kB / 0.7372 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.2265, allocations: 0 / 0.7372 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/0.2269, allocations: 247.8 kB / 0.7375 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.272e-06/0.2269, allocations: 4 kB / 0.7375 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0007926/0.2277, allocations: 435.1 kB / 0.7379 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.2278, allocations: 118.8 kB / 0.738 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.2282, allocations: 328.3 kB / 0.7383 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/0.2283, allocations: 37.7 kB / 0.7383 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.2285, allocations: 180.8 kB / 0.7385 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.2285, allocations: 59.58 kB / 0.7386 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.2288, allocations: 142 kB / 0.7387 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.229, allocations: 346.8 kB / 0.739 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.2294, allocations: 208.7 kB / 0.7392 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.2299, allocations: 317 kB / 0.7395 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.2306, allocations: 0.5388 MB / 0.7401 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2306, allocations: 0 / 0.7401 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001286/0.2319, allocations: 0.7444 MB / 0.7408 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.232, allocations: 122.8 kB / 0.7409 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.232, allocations: 4 kB / 0.7409 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.2321, allocations: 11.94 kB / 0.7409 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.2323, allocations: 59.91 kB / 0.741 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.2323, allocations: 7.938 kB / 0.741 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/0.233, allocations: 136 kB / 0.7411 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.2331, allocations: 67.92 kB / 0.7412 GB, free: 4.555 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.0002641/0.2334, allocations: 190 kB / 0.7414 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.2334, allocations: 35.77 kB / 0.7414 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/0.234, allocations: 369.2 kB / 0.7417 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.2341, allocations: 11.92 kB / 0.7418 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2341, allocations: 0 / 0.7418 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2341, allocations: 0 / 0.7418 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.2351, allocations: 0.7242 MB / 0.7425 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2351, allocations: 3.984 kB / 0.7425 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.2352, allocations: 35.92 kB / 0.7425 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2352, allocations: 0 / 0.7425 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.2353, allocations: 11.98 kB / 0.7425 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2353, allocations: 4 kB / 0.7425 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2353, allocations: 0 / 0.7425 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.2358, allocations: 444.5 kB / 0.7429 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.2359, allocations: 35.7 kB / 0.743 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.2359, allocations: 8 kB / 0.743 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.236, allocations: 11.98 kB / 0.743 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.2361, allocations: 19.97 kB / 0.743 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.2361, allocations: 15.92 kB / 0.743 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002297/0.2363, allocations: 219.1 kB / 0.7432 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2363, allocations: 0 / 0.7432 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004107/0.2368, allocations: 88 kB / 0.7433 GB, free: 2.277 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.001021/0.2378, allocations: 0.9913 MB / 0.7443 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009332/0.2387, allocations: 0.615 MB / 0.7449 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2387, allocations: 0 / 0.7449 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.2389, allocations: 131.8 kB / 0.745 GB, free: 476 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.2394, allocations: 89.77 kB / 0.7451 GB, free: 388 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.245, allocations: 3.818 MB / 0.7488 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.2454, allocations: 0.7914 MB / 0.7496 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.2456, allocations: 67.23 kB / 0.7497 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.2458, allocations: 115.4 kB / 0.7498 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.2458, allocations: 0 / 0.7498 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/0.289, allocations: 8.811 MB / 0.7584 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.01, allocations: 3.938 kB / 0.7584 GB, free: 2.801 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 os._exit(0), Time elapsed: 16.213057830987964] Failed to read output from testmodel.py, exit status != 0: 12.1770357270143 12.46865876 12.245261201 Calling exit ...