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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 105.1 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 194.7 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 245.7 MB, free: 4.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.116/1.116, allocations: 147.6 MB / 445.6 MB, free: 8.344 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.78 kB / 0.6109 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1942, allocations: 83.16 MB / 0.6921 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003543/0.1978, allocations: 1.124 MB / 0.6932 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.2005, allocations: 1.505 MB / 0.6947 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2007, allocations: 4.969 kB / 0.6947 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2009, allocations: 27.61 kB / 0.6947 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2011, allocations: 59.34 kB / 0.6948 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.2024, allocations: 493.7 kB / 0.6952 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007449/0.2032, allocations: 0.6251 MB / 0.6959 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.2035, allocations: 150 kB / 0.696 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.2039, allocations: 226.8 kB / 0.6962 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.2042, allocations: 220.8 kB / 0.6964 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.2044, allocations: 58.41 kB / 0.6965 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.2046, allocations: 78.83 kB / 0.6966 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.2047, allocations: 71.02 kB / 0.6966 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.205, allocations: 228.8 kB / 0.6968 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.2059, allocations: 0.6249 MB / 0.6974 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2059, allocations: 0 / 0.6974 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2059, allocations: 1.375 kB / 0.6975 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.206, allocations: 0 / 0.6975 GB, free: 9.32 MB / 0.5137 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.001154/0.2071, allocations: 0.7482 MB / 0.6982 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.2072, allocations: 9.5 kB / 0.6982 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.59e-05/0.2073, allocations: 55.92 kB / 0.6982 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.2074, allocations: 49.88 kB / 0.6983 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2085, allocations: 405.6 kB / 0.6987 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.2085, allocations: 32.8 kB / 0.6987 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.2086, allocations: 36.38 kB / 0.6987 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.209, allocations: 251.3 kB / 0.699 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.209, allocations: 0 / 0.699 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.2091, allocations: 12 kB / 0.699 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2091, allocations: 4 kB / 0.699 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.2094, allocations: 161.7 kB / 0.6992 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.2108, allocations: 0.8492 MB / 0.7 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.2112, allocations: 221.2 kB / 0.7002 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.2115, allocations: 212.6 kB / 0.7004 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2115, allocations: 0 / 0.7004 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003763/0.2119, allocations: 253 kB / 0.7006 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.2119, allocations: 0 / 0.7006 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28): time 0.0007698/0.2126, allocations: 436.7 kB / 0.7011 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.2127, allocations: 106.8 kB / 0.7012 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.2131, allocations: 332.3 kB / 0.7015 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.2132, allocations: 41.7 kB / 0.7015 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.2134, allocations: 172.9 kB / 0.7017 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.2134, allocations: 63.53 kB / 0.7017 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.2137, allocations: 145.9 kB / 0.7019 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.2139, allocations: 338.8 kB / 0.7022 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.2143, allocations: 216.6 kB / 0.7024 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.2147, allocations: 333 kB / 0.7027 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/0.2155, allocations: 0.5233 MB / 0.7032 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2155, allocations: 4 kB / 0.7032 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001227/0.2167, allocations: 0.7446 MB / 0.704 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.2168, allocations: 122.8 kB / 0.7041 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.2169, allocations: 7.984 kB / 0.7041 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.2169, allocations: 11.88 kB / 0.7041 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.2171, allocations: 55.92 kB / 0.7042 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.2171, allocations: 11.92 kB / 0.7042 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.2179, allocations: 127.8 kB / 0.7043 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.218, allocations: 67.92 kB / 0.7044 GB, free: 2 MB / 0.5137 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.000258/0.2183, allocations: 193.7 kB / 0.7045 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.2183, allocations: 35.8 kB / 0.7046 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005909/0.2189, allocations: 365.2 kB / 0.7049 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2189, allocations: 3.938 kB / 0.7049 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2189, allocations: 0 / 0.7049 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.219, allocations: 4 kB / 0.7049 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.2199, allocations: 0.7569 MB / 0.7057 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2199, allocations: 4 kB / 0.7057 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.2201, allocations: 39.91 kB / 0.7057 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2201, allocations: 0 / 0.7057 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2201, allocations: 8 kB / 0.7057 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2201, allocations: 0 / 0.7057 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2201, allocations: 0 / 0.7057 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.2206, allocations: 440.2 kB / 0.7061 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.2208, allocations: 104.9 kB / 0.7062 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.2208, allocations: 11.98 kB / 0.7062 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2209, allocations: 4 kB / 0.7063 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.221, allocations: 27.91 kB / 0.7063 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.221, allocations: 12 kB / 0.7063 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003617/0.2214, allocations: 215 kB / 0.7065 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2214, allocations: 4 kB / 0.7065 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005194/0.2219, allocations: 91.89 kB / 0.7066 GB, free: 15.6 MB / 0.5294 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.0009806/0.2229, allocations: 0.9921 MB / 0.7076 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.2239, allocations: 0.677 MB / 0.7082 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.224, allocations: 0 / 0.7082 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.2242, allocations: 147.9 kB / 0.7084 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.2247, allocations: 79.06 kB / 0.7084 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/0.2304, allocations: 3.828 MB / 0.7122 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.231, allocations: 0.7836 MB / 0.7129 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000201/0.2312, allocations: 75.2 kB / 0.713 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.2314, allocations: 115.4 kB / 0.7131 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.2314, allocations: 0 / 0.7131 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.2673, allocations: 8.432 MB / 0.7214 GB, free: 384 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/8.701, allocations: 8.172 kB / 0.7214 GB, free: 376 kB / 0.5294 GB " [Timeout remaining time 651] (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: 12.548938862979412] Failed to read output from testmodel.py, exit status != 0: 9.102566638030112 8.790715303 8.58215887 Calling exit ...