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.00127/0.00127, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001489/0.001489, allocations: 211 kB / 23.78 MB, free: 4.527 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.036/1.036, allocations: 150 MB / 464 MB, free: 10.22 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.002036/0.002036, allocations: 61.69 kB / 0.642 GB, free: 9.934 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1964, allocations: 89.17 MB / 0.729 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002474/0.1988, allocations: 0.8218 MB / 0.7298 GB, free: 24 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.201, allocations: 1.315 MB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.2011, allocations: 7.938 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.2013, allocations: 19.8 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2014, allocations: 27.73 kB / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.2022, allocations: 264.1 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004603/0.2027, allocations: 327.4 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2029, allocations: 45.58 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.2031, allocations: 131.7 kB / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.2034, allocations: 115.6 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.223e-05/0.2035, allocations: 28 kB / 0.7321 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.2036, allocations: 44 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2037, allocations: 51.78 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2039, allocations: 99.62 kB / 0.7322 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.2043, allocations: 362.7 kB / 0.7326 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2044, allocations: 0 / 0.7326 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2044, allocations: 3.938 kB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.2044, allocations: 0 / 0.7326 GB, free: 13.2 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.0008889/0.2053, allocations: 488.7 kB / 0.7331 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2053, allocations: 8.031 kB / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.623e-05/0.2053, allocations: 4.188 kB / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.2054, allocations: 46.73 kB / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.2057, allocations: 52.81 kB / 0.7332 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.2064, allocations: 242.2 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2064, allocations: 16.36 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.2064, allocations: 20.38 kB / 0.7334 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.2067, allocations: 156.5 kB / 0.7336 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2067, allocations: 3.938 kB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2067, allocations: 0 / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2067, allocations: 4 kB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.2069, allocations: 71.89 kB / 0.7337 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009237/0.2078, allocations: 0.6797 MB / 0.7343 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.2079, allocations: 53.2 kB / 0.7344 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.208, allocations: 21.78 kB / 0.7344 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.208, allocations: 0 / 0.7344 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.2082, allocations: 109 kB / 0.7345 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.2082, allocations: 0 / 0.7345 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003379/0.2085, allocations: 125.5 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/0.2086, allocations: 85.11 kB / 0.7347 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.2089, allocations: 211.7 kB / 0.7349 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.2089, allocations: 33.7 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2091, allocations: 140.3 kB / 0.7351 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.2091, allocations: 15.89 kB / 0.7351 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.2092, allocations: 61.69 kB / 0.7351 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2094, allocations: 330.8 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.2096, allocations: 131.4 kB / 0.7356 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.2099, allocations: 249.8 kB / 0.7358 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2102, allocations: 198.2 kB / 0.736 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.2102, allocations: 4 kB / 0.736 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005996/0.2108, allocations: 368.1 kB / 0.7364 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.2108, allocations: 71.33 kB / 0.7364 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.2108, allocations: 4.188 kB / 0.7364 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2108, allocations: 4 kB / 0.7364 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.2109, allocations: 11.94 kB / 0.7364 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.2109, allocations: 7.984 kB / 0.7365 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.2113, allocations: 47.89 kB / 0.7365 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.2113, allocations: 19.98 kB / 0.7365 GB, free: 8.781 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.0001685/0.2115, allocations: 145.8 kB / 0.7367 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.2115, allocations: 19.84 kB / 0.7367 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.2116, allocations: 21.03 kB / 0.7367 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2116, allocations: 0 / 0.7367 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2116, allocations: 3.938 kB / 0.7367 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2116, allocations: 0 / 0.7367 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.2118, allocations: 204.6 kB / 0.7369 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2118, allocations: 0 / 0.7369 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.2118, allocations: 4 kB / 0.7369 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2118, allocations: 4 kB / 0.7369 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2118, allocations: 4 kB / 0.7369 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.2118, allocations: 7.984 kB / 0.7369 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2118, allocations: 0 / 0.7369 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.2121, allocations: 141.8 kB / 0.737 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.2121, allocations: 11.91 kB / 0.7371 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.2121, allocations: 7.938 kB / 0.7371 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.2121, allocations: 4 kB / 0.7371 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.2122, allocations: 7.984 kB / 0.7371 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.2122, allocations: 4 kB / 0.7371 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000144/0.2123, allocations: 140.2 kB / 0.7372 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2123, allocations: 0 / 0.7372 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003113/0.2126, allocations: 55.88 kB / 0.7373 GB, free: 7.934 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.0005933/0.2132, allocations: 0.6822 MB / 0.7379 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.2137, allocations: 294.1 kB / 0.7382 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2137, allocations: 0 / 0.7382 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/0.2137, allocations: 31.92 kB / 0.7382 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.214, allocations: 41.05 kB / 0.7383 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.2171, allocations: 2.435 MB / 0.7407 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.2173, allocations: 111.6 kB / 0.7408 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.567e-05/0.2173, allocations: 25.47 kB / 0.7408 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.2174, allocations: 51.42 kB / 0.7408 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/0.2174, allocations: 0 / 0.7408 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.2454, allocations: 4.687 MB / 0.7454 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.72, allocations: 4.875 kB / 0.7454 GB, free: 15.55 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.615625591017306] Failed to read output from testmodel.py, exit status != 0: 11.880602955003269 11.905767387 11.696102237 Calling exit ...