Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001295/0.001295, allocations: 117.8 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.001457/0.001457, allocations: 222.7 kB / 23.01 MB, free: 5.043 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9592/0.9592, allocations: 150 MB / 463.2 MB, free: 10.51 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.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.002939/0.002939, allocations: 67.64 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2063, allocations: 89.17 MB / 0.7283 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002054/0.2084, allocations: 0.862 MB / 0.7292 GB, free: 500 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.2102, allocations: 1.334 MB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.2102, allocations: 3.938 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2103, allocations: 15.8 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/0.2104, allocations: 39.72 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.2112, allocations: 266 kB / 0.7308 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.2116, allocations: 323.4 kB / 0.7311 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.2117, allocations: 45.59 kB / 0.7312 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.2119, allocations: 143.7 kB / 0.7313 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2121, allocations: 107 kB / 0.7314 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.2121, allocations: 32 kB / 0.7314 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.2123, allocations: 55.97 kB / 0.7315 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.2123, allocations: 51.78 kB / 0.7315 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2125, allocations: 115.5 kB / 0.7316 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.2129, allocations: 346.8 kB / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2129, allocations: 3.938 kB / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.106e-06/0.2129, allocations: 3.984 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2129, allocations: 0 / 0.732 GB, free: 13.62 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007284/0.2136, allocations: 484.7 kB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2136, allocations: 12.03 kB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.2137, allocations: 42.73 kB / 0.7325 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/0.214, allocations: 64.72 kB / 0.7325 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.2146, allocations: 230.2 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.2147, allocations: 12.38 kB / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.2147, allocations: 20.38 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.2149, allocations: 155.3 kB / 0.7329 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.215, allocations: 3.938 kB / 0.7329 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.215, allocations: 8 kB / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.215, allocations: 4 kB / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.2151, allocations: 59.91 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.2159, allocations: 0.7304 MB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.216, allocations: 53.2 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.2161, allocations: 25.77 kB / 0.7338 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2161, allocations: 7.938 kB / 0.7338 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.2163, allocations: 104.9 kB / 0.7339 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.2163, allocations: 0 / 0.7339 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002922/0.2166, allocations: 125.5 kB / 0.734 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.2167, allocations: 93.09 kB / 0.7341 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.2169, allocations: 207.8 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.2169, allocations: 29.7 kB / 0.7343 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2171, allocations: 144.3 kB / 0.7345 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.2171, allocations: 15.91 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2172, allocations: 65.67 kB / 0.7346 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2173, allocations: 330.8 kB / 0.7349 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.2175, allocations: 59.97 kB / 0.7349 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.2177, allocations: 143.4 kB / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.2179, allocations: 190.2 kB / 0.7353 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2179, allocations: 0 / 0.7353 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005399/0.2185, allocations: 300.7 kB / 0.7355 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.2185, allocations: 74.23 kB / 0.7356 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2186, allocations: 4 kB / 0.7356 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2186, allocations: 0 / 0.7356 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.2186, allocations: 11.94 kB / 0.7356 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.2187, allocations: 4 kB / 0.7356 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.219, allocations: 51.94 kB / 0.7357 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.219, allocations: 15.98 kB / 0.7357 GB, free: 9.461 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001831/0.2192, allocations: 153.5 kB / 0.7358 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.2193, allocations: 23.86 kB / 0.7359 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.2193, allocations: 17.02 kB / 0.7359 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2193, allocations: 3.984 kB / 0.7359 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2193, allocations: 3.938 kB / 0.7359 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2193, allocations: 4 kB / 0.7359 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.2196, allocations: 212.5 kB / 0.7361 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2196, allocations: 0 / 0.7361 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.2196, allocations: 8 kB / 0.7361 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2196, allocations: 0 / 0.7361 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2196, allocations: 3.938 kB / 0.7361 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2196, allocations: 4 kB / 0.7361 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2196, allocations: 0 / 0.7361 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.2198, allocations: 137.8 kB / 0.7362 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.2199, allocations: 11.91 kB / 0.7363 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.2199, allocations: 7.938 kB / 0.7363 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.272e-05/0.2199, allocations: 4 kB / 0.7363 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.2199, allocations: 7.984 kB / 0.7363 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.22, allocations: 7.938 kB / 0.7363 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001431/0.2201, allocations: 144.2 kB / 0.7364 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2201, allocations: 0 / 0.7364 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002886/0.2204, allocations: 47.88 kB / 0.7365 GB, free: 8.602 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005996/0.221, allocations: 0.6857 MB / 0.7371 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.2214, allocations: 234.7 kB / 0.7374 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2214, allocations: 0 / 0.7374 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.2215, allocations: 27.92 kB / 0.7374 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.2218, allocations: 32.36 kB / 0.7374 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.2246, allocations: 2.169 MB / 0.7395 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.2249, allocations: 0.7281 MB / 0.7402 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.479e-05/0.225, allocations: 17.48 kB / 0.7403 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.2251, allocations: 59.41 kB / 0.7403 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.2251, allocations: 0 / 0.7403 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.2576, allocations: 4.408 MB / 0.7446 GB, free: 216 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.21, allocations: 8.359 kB / 0.7446 GB, free: 212 kB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_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_IntegerExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.096169120999548] Failed to read output from testmodel.py, exit status != 0: 11.32981401500001 11.343644606 11.12765266 Calling exit ...