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.001666/0.001666, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.00142/0.00142, allocations: 201.6 kB / 20.8 MB, free: 2.371 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 / 254.2 MB, free: 15.05 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.037/1.037, allocations: 150 MB / 460.2 MB, free: 5.355 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: "" <> 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.002001/0.002001, allocations: 62.91 kB / 0.6368 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2009, allocations: 89.14 MB / 0.7238 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002645/0.2035, allocations: 1.132 MB / 0.725 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.2059, allocations: 1.549 MB / 0.7265 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.2061, allocations: 3.938 kB / 0.7265 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.2062, allocations: 31.61 kB / 0.7265 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.2064, allocations: 63.52 kB / 0.7266 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.2076, allocations: 493.8 kB / 0.727 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000711/0.2083, allocations: 0.5855 MB / 0.7276 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.2086, allocations: 128.4 kB / 0.7277 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.2089, allocations: 231.4 kB / 0.7279 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.2092, allocations: 218 kB / 0.7282 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.158e-05/0.2093, allocations: 60 kB / 0.7282 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.2094, allocations: 75.98 kB / 0.7283 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.897e-05/0.2095, allocations: 71.77 kB / 0.7284 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.2098, allocations: 227 kB / 0.7286 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007268/0.2105, allocations: 0.6267 MB / 0.7292 GB, free: 14.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2105, allocations: 0 / 0.7292 GB, free: 14.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2105, allocations: 0 / 0.7292 GB, free: 14.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.2106, allocations: 4 kB / 0.7292 GB, free: 14.62 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.001093/0.2116, allocations: 0.747 MB / 0.7299 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2117, allocations: 8.031 kB / 0.7299 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.24e-05/0.2117, allocations: 8.625 kB / 0.7299 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.245e-05/0.2118, allocations: 58.72 kB / 0.73 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.2119, allocations: 48.64 kB / 0.73 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.213, allocations: 412 kB / 0.7304 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.213, allocations: 24.81 kB / 0.7304 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.2131, allocations: 36.38 kB / 0.7305 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.2135, allocations: 255.3 kB / 0.7307 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2135, allocations: 8 kB / 0.7307 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.2136, allocations: 7.984 kB / 0.7307 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.2136, allocations: 8 kB / 0.7307 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.2139, allocations: 153.7 kB / 0.7309 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.2152, allocations: 0.8492 MB / 0.7317 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.2156, allocations: 206.7 kB / 0.7319 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.2158, allocations: 196.7 kB / 0.7321 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.2158, allocations: 11.98 kB / 0.7321 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.2162, allocations: 243.8 kB / 0.7324 GB, free: 11.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.2162, allocations: 0 / 0.7324 GB, free: 11.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.0007411/0.2169, allocations: 433.5 kB / 0.7328 GB, free: 10.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.217, allocations: 118.8 kB / 0.7329 GB, free: 10.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.2174, allocations: 332.3 kB / 0.7332 GB, free: 10.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.2175, allocations: 37.7 kB / 0.7332 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.2177, allocations: 180.7 kB / 0.7334 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.2177, allocations: 59.58 kB / 0.7335 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.218, allocations: 149.9 kB / 0.7336 GB, free: 9.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.2182, allocations: 346.8 kB / 0.7339 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.2186, allocations: 200.7 kB / 0.7341 GB, free: 9.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.219, allocations: 330.8 kB / 0.7344 GB, free: 8.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/0.2197, allocations: 0.5311 MB / 0.735 GB, free: 8.301 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2197, allocations: 0 / 0.735 GB, free: 8.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001209/0.2209, allocations: 0.7406 MB / 0.7357 GB, free: 7.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.2211, allocations: 126.8 kB / 0.7358 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2211, allocations: 4 kB / 0.7358 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.2211, allocations: 11.94 kB / 0.7358 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.2213, allocations: 51.91 kB / 0.7359 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.2213, allocations: 11.94 kB / 0.7359 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.222, allocations: 135.9 kB / 0.736 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.2221, allocations: 63.92 kB / 0.7361 GB, free: 7.109 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.000236/0.2223, allocations: 189.8 kB / 0.7363 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.2224, allocations: 35.77 kB / 0.7363 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005773/0.223, allocations: 361.2 kB / 0.7366 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.223, allocations: 7.938 kB / 0.7366 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.223, allocations: 4 kB / 0.7366 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.223, allocations: 7.922 kB / 0.7366 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.224, allocations: 0.7607 MB / 0.7374 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.224, allocations: 0 / 0.7374 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.2241, allocations: 35.92 kB / 0.7374 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2241, allocations: 0 / 0.7374 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2241, allocations: 8 kB / 0.7374 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2242, allocations: 7.984 kB / 0.7374 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2242, allocations: 0 / 0.7374 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.2247, allocations: 432.2 kB / 0.7379 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.2248, allocations: 112.9 kB / 0.738 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.2248, allocations: 7.938 kB / 0.738 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2249, allocations: 23.86 kB / 0.738 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.225, allocations: 15.98 kB / 0.738 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.225, allocations: 11.98 kB / 0.738 GB, free: 5.008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002549/0.2253, allocations: 219.1 kB / 0.7382 GB, free: 4.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2253, allocations: 4 kB / 0.7382 GB, free: 4.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004194/0.2257, allocations: 84 kB / 0.7383 GB, free: 4.707 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.0009954/0.2267, allocations: 0.9998 MB / 0.7393 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009178/0.2276, allocations: 0.6145 MB / 0.7399 GB, free: 3.016 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2276, allocations: 0 / 0.7399 GB, free: 3.016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.2278, allocations: 123.9 kB / 0.74 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.2283, allocations: 85.77 kB / 0.7401 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.2336, allocations: 3.832 MB / 0.7438 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.2341, allocations: 0.7798 MB / 0.7446 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.2343, allocations: 71.23 kB / 0.7447 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.2344, allocations: 111.4 kB / 0.7448 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/0.2344, allocations: 0 / 0.7448 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.2645, allocations: 8.506 MB / 0.7531 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.863/9.128, allocations: 20.02 kB / 0.7531 GB, free: 5.488 MB / 0.5606 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 os._exit(0), Time elapsed: 13.2573614140274] Failed to read output from testmodel.py, exit status != 0: 9.256583010021131 9.272095113 9.058545881 Calling exit ...