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.001351/0.001351, 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.001534/0.001534, allocations: 225.1 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9753/0.9753, 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.002058/0.002058, allocations: 66.77 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1899, allocations: 89.18 MB / 0.7284 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002489/0.1924, allocations: 1.125 MB / 0.7295 GB, free: 136 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1946, allocations: 1.552 MB / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1947, allocations: 7.938 kB / 0.731 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.1949, allocations: 35.55 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.195, allocations: 63.5 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1962, allocations: 0.4898 MB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006369/0.1968, allocations: 0.5894 MB / 0.7321 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.1971, allocations: 108.9 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.1974, allocations: 227.5 kB / 0.7325 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.1977, allocations: 218.5 kB / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.1978, allocations: 63.94 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1979, allocations: 75.98 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-05/0.198, allocations: 75.7 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.1983, allocations: 227.1 kB / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.199, allocations: 0.6228 MB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.199, allocations: 4 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.199, allocations: 0 / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.199, allocations: 4 kB / 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.001031/0.2001, allocations: 0.6795 MB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2001, allocations: 12.03 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.696e-05/0.2002, allocations: 54.73 kB / 0.7344 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.2003, allocations: 48.69 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.2013, allocations: 337.8 kB / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.2013, allocations: 24.81 kB / 0.7348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.2014, allocations: 40.36 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.2018, allocations: 255.5 kB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2018, allocations: 0 / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.2018, allocations: 12 kB / 0.7351 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2019, allocations: 4 kB / 0.7351 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.2021, allocations: 161.7 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.2037, allocations: 0.8093 MB / 0.7361 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.204, allocations: 206.7 kB / 0.7363 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.2043, allocations: 207.6 kB / 0.7365 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2044, allocations: 0 / 0.7365 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.2047, allocations: 247.8 kB / 0.7367 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.2047, allocations: 0 / 0.7367 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0007892/0.2055, allocations: 431.2 kB / 0.7371 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.2056, allocations: 114.7 kB / 0.7372 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.206, allocations: 324.3 kB / 0.7375 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/0.2061, allocations: 45.7 kB / 0.7376 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.2063, allocations: 176.8 kB / 0.7377 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.2064, allocations: 63.58 kB / 0.7378 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.2066, allocations: 142 kB / 0.7379 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2068, allocations: 346.7 kB / 0.7383 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.2072, allocations: 212.7 kB / 0.7385 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.2076, allocations: 324.9 kB / 0.7388 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.2083, allocations: 0.5349 MB / 0.7393 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2083, allocations: 0 / 0.7393 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001155/0.2095, allocations: 0.7444 MB / 0.74 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-05/0.2096, allocations: 122.8 kB / 0.7401 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2096, allocations: 4 kB / 0.7401 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2096, allocations: 4 kB / 0.7401 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.2098, allocations: 63.84 kB / 0.7402 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.2099, allocations: 4 kB / 0.7402 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/0.2105, allocations: 140 kB / 0.7403 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.2106, allocations: 67.86 kB / 0.7404 GB, free: 4.496 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.0002749/0.2109, allocations: 194 kB / 0.7406 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.211, allocations: 31.77 kB / 0.7406 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.2116, allocations: 369.2 kB / 0.741 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2116, allocations: 11.94 kB / 0.741 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2116, allocations: 0 / 0.741 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2116, allocations: 3.984 kB / 0.741 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2127, allocations: 0.7125 MB / 0.7417 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2127, allocations: 3.938 kB / 0.7417 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.2129, allocations: 39.92 kB / 0.7417 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2129, allocations: 0 / 0.7417 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.2129, allocations: 12 kB / 0.7417 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2129, allocations: 4 kB / 0.7417 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2129, allocations: 3.984 kB / 0.7417 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.2134, allocations: 432.7 kB / 0.7422 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.2135, allocations: 39.62 kB / 0.7422 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.2135, allocations: 8 kB / 0.7422 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2136, allocations: 8 kB / 0.7422 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.2137, allocations: 23.95 kB / 0.7422 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.2137, allocations: 15.98 kB / 0.7423 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002331/0.214, allocations: 223 kB / 0.7425 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.214, allocations: 0 / 0.7425 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004413/0.2144, allocations: 88 kB / 0.7425 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.0009587/0.2154, allocations: 0.9951 MB / 0.7435 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009649/0.2163, allocations: 0.6149 MB / 0.7441 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2163, allocations: 4 kB / 0.7441 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.2165, allocations: 127.9 kB / 0.7442 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.217, allocations: 72.09 kB / 0.7443 GB, free: 348 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.2221, allocations: 3.826 MB / 0.7481 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.2225, allocations: 0.7798 MB / 0.7488 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.2227, allocations: 79.2 kB / 0.7489 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.2229, allocations: 115.3 kB / 0.749 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.2229, allocations: 0 / 0.749 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.2607, allocations: 8.777 MB / 0.7576 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.51, allocations: 3 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.770402248999744] Failed to read output from testmodel.py, exit status != 0: 11.614896447998035 11.979428242 11.777291948 Calling exit ...