Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.001607/0.001607, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.002034/0.002034, allocations: 210.4 kB / 23.04 MB, free: 4.891 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9692/0.9692, allocations: 150 MB / 463.2 MB, free: 10.18 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.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",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.003048/0.003048, allocations: 71.56 kB / 0.6413 GB, free: 9.832 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1943, allocations: 89.17 MB / 0.7284 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001907/0.1962, allocations: 0.6698 MB / 0.729 GB, free: 72 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1981, allocations: 1.272 MB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.1981, allocations: 0 / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.1981, allocations: 3.938 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.026e-05/0.1982, allocations: 27.78 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.1991, allocations: 308.3 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.1994, allocations: 255.6 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1995, allocations: 16.17 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1997, allocations: 99.81 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1998, allocations: 87.67 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.1999, allocations: 27.98 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-05/0.2, allocations: 36 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.2, allocations: 15.92 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.2001, allocations: 79.8 kB / 0.7312 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.2004, allocations: 219.6 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2004, allocations: 0 / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2004, allocations: 0 / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2004, allocations: 0 / 0.7314 GB, free: 13.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006018/0.201, allocations: 423.1 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2011, allocations: 16.02 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.2011, allocations: 30.75 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.2012, allocations: 16.89 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2013, allocations: 118.4 kB / 0.732 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.2013, allocations: 16.36 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.2013, allocations: 12.38 kB / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.2014, allocations: 61.97 kB / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2015, allocations: 0 / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2015, allocations: 4 kB / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2015, allocations: 0 / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.132e-05/0.2015, allocations: 19.98 kB / 0.7321 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.202, allocations: 347.6 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.2021, allocations: 26.58 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.2022, allocations: 24.94 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.2022, allocations: 0 / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.2024, allocations: 107.2 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.2024, allocations: 0 / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003358/0.2027, allocations: 141.5 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.2028, allocations: 59.78 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2029, allocations: 128.4 kB / 0.7329 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.203, allocations: 33.7 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.2031, allocations: 104.1 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.2031, allocations: 23.8 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2032, allocations: 69.67 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2034, allocations: 326.8 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.2037, allocations: 177 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.204, allocations: 233.5 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.2042, allocations: 232.5 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2042, allocations: 4 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006891/0.2049, allocations: 475.6 kB / 0.7345 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.74e-05/0.205, allocations: 93.09 kB / 0.7346 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.205, allocations: 4 kB / 0.7346 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.205, allocations: 4 kB / 0.7346 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.373e-05/0.2051, allocations: 3.938 kB / 0.7346 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2051, allocations: 4 kB / 0.7346 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.2056, allocations: 91.97 kB / 0.7347 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.2056, allocations: 15.98 kB / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001301/0.2057, allocations: 129.8 kB / 0.7348 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.2057, allocations: 7.953 kB / 0.7348 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.2058, allocations: 12.38 kB / 0.7348 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2058, allocations: 0 / 0.7348 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2058, allocations: 4 kB / 0.7348 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2058, allocations: 7.922 kB / 0.7348 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.206, allocations: 156.7 kB / 0.735 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.206, allocations: 0 / 0.735 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.206, allocations: 4 kB / 0.735 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.206, allocations: 0 / 0.735 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.206, allocations: 0 / 0.735 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.206, allocations: 4.078 kB / 0.735 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.206, allocations: 3.984 kB / 0.735 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.2063, allocations: 144.9 kB / 0.7351 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.2063, allocations: 19.88 kB / 0.7352 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2063, allocations: 0 / 0.7352 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.967e-05/0.2063, allocations: 15.92 kB / 0.7352 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.2064, allocations: 3.984 kB / 0.7352 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2064, allocations: 8 kB / 0.7352 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.619e-05/0.2065, allocations: 95.36 kB / 0.7353 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2065, allocations: 3.938 kB / 0.7353 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002599/0.2067, allocations: 44 kB / 0.7353 GB, free: 9.18 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005645/0.2073, allocations: 0.6748 MB / 0.736 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.2078, allocations: 419.1 kB / 0.7364 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2078, allocations: 0 / 0.7364 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.2079, allocations: 35.92 kB / 0.7364 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.2082, allocations: 28.69 kB / 0.7364 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.211, allocations: 2.444 MB / 0.7388 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.147e-05/0.2111, allocations: 75.89 kB / 0.7389 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.2112, allocations: 8.719 kB / 0.7389 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.2112, allocations: 27.42 kB / 0.7389 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.2112, allocations: 0 / 0.7389 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.2485, allocations: 4.684 MB / 0.7435 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.19, allocations: 6.875 kB / 0.7435 GB, free: 0.6719 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.178070836002007] Failed to read output from testmodel.py, exit status != 0: 11.314106941921636 11.32773966 11.124281417 Calling exit ...