Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001369/0.001369, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001465/0.001465, allocations: 214.4 kB / 22.99 MB, free: 4.977 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9804/0.9804, allocations: 149.9 MB / 463.1 MB, free: 10.32 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.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.0021/0.0021, allocations: 63.81 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1881, allocations: 89.17 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002286/0.1904, allocations: 0.9425 MB / 0.7291 GB, free: 56 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1923, allocations: 1.346 MB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.1924, allocations: 4 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.1925, allocations: 23.73 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1926, allocations: 51.62 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.1934, allocations: 270.4 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.1939, allocations: 379.2 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.194, allocations: 53.2 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.1942, allocations: 151.7 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1944, allocations: 120.3 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.1945, allocations: 36 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1946, allocations: 55.92 kB / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.1947, allocations: 55.83 kB / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1949, allocations: 123.4 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.1953, allocations: 402.5 kB / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1953, allocations: 0 / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1953, allocations: 0 / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1953, allocations: 0 / 0.732 GB, free: 13.02 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009896/0.1963, allocations: 0.555 MB / 0.7326 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1964, allocations: 12.03 kB / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.1964, allocations: 46.73 kB / 0.7326 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.1967, allocations: 64.75 kB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.1977, allocations: 309.1 kB / 0.733 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.1977, allocations: 12.38 kB / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.1978, allocations: 20.38 kB / 0.733 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.1983, allocations: 218.1 kB / 0.7332 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1983, allocations: 0 / 0.7332 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1983, allocations: 4 kB / 0.7332 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1983, allocations: 4 kB / 0.7332 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.1988, allocations: 143.8 kB / 0.7334 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.2, allocations: 0.8243 MB / 0.7342 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.2003, allocations: 149 kB / 0.7343 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.2006, allocations: 84.23 kB / 0.7344 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2006, allocations: 4 kB / 0.7344 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004705/0.2011, allocations: 167.5 kB / 0.7346 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.2011, allocations: 0 / 0.7346 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.000949/0.202, allocations: 261.5 kB / 0.7348 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.2021, allocations: 166.2 kB / 0.735 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.2024, allocations: 224.9 kB / 0.7352 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.2025, allocations: 33.7 kB / 0.7352 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.2026, allocations: 148.3 kB / 0.7354 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.2027, allocations: 27.75 kB / 0.7354 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2028, allocations: 57.86 kB / 0.7354 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.203, allocations: 338.8 kB / 0.7358 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.2034, allocations: 159.3 kB / 0.7359 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.2039, allocations: 287 kB / 0.7362 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.2045, allocations: 278.9 kB / 0.7365 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2045, allocations: 0 / 0.7365 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001028/0.2056, allocations: 448 kB / 0.7369 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.2057, allocations: 67.39 kB / 0.7369 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2057, allocations: 4.219 kB / 0.737 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.2057, allocations: 4 kB / 0.737 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.2059, allocations: 31.91 kB / 0.737 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2059, allocations: 0 / 0.737 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.2063, allocations: 75.75 kB / 0.7371 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.2064, allocations: 19.98 kB / 0.7371 GB, free: 7.375 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.000209/0.2066, allocations: 149.8 kB / 0.7372 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.2066, allocations: 19.89 kB / 0.7372 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.2067, allocations: 25.28 kB / 0.7373 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2067, allocations: 4 kB / 0.7373 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2067, allocations: 0 / 0.7373 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2067, allocations: 3.984 kB / 0.7373 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.207, allocations: 220.6 kB / 0.7375 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.207, allocations: 0 / 0.7375 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.2071, allocations: 31.97 kB / 0.7375 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2071, allocations: 4 kB / 0.7375 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2072, allocations: 0 / 0.7375 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.2072, allocations: 7.984 kB / 0.7375 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2072, allocations: 0 / 0.7375 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.2078, allocations: 251 kB / 0.7378 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.2078, allocations: 23.78 kB / 0.7378 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.2079, allocations: 4 kB / 0.7378 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.208, allocations: 15.97 kB / 0.7378 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.208, allocations: 15.98 kB / 0.7378 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2081, allocations: 11.94 kB / 0.7378 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001685/0.2082, allocations: 160.5 kB / 0.738 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2082, allocations: 0 / 0.738 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003322/0.2086, allocations: 51.89 kB / 0.738 GB, free: 6.309 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001122/0.2097, allocations: 0.7757 MB / 0.7388 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009303/0.2106, allocations: 381.9 kB / 0.7392 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2106, allocations: 0 / 0.7392 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.2109, allocations: 76.38 kB / 0.7392 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.2113, allocations: 55.28 kB / 0.7393 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.2156, allocations: 2.827 MB / 0.742 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.2158, allocations: 128.9 kB / 0.7422 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.2159, allocations: 45.59 kB / 0.7422 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.216, allocations: 63.42 kB / 0.7423 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.216, allocations: 0 / 0.7423 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.2505, allocations: 6.099 MB / 0.7482 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.58, allocations: 11.38 kB / 0.7482 GB, free: 11.79 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.608549782074988] Failed to read output from testmodel.py, exit status != 0: 11.690621572081 11.980165314 11.781480994 Calling exit ...