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.001303/0.001303, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001488/0.001488, allocations: 219 kB / 23 MB, free: 5.004 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8 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.9473/0.9473, allocations: 150 MB / 463.2 MB, free: 10.48 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.001988/0.001988, allocations: 62.28 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1934, allocations: 89.18 MB / 0.7284 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002154/0.1956, allocations: 0.679 MB / 0.729 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1977, allocations: 1.299 MB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.1978, allocations: 4 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.1978, allocations: 7.875 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.725e-05/0.1979, allocations: 19.84 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009745/0.1989, allocations: 312.4 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.1993, allocations: 251.5 kB / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1994, allocations: 20.17 kB / 0.7309 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1996, allocations: 99.86 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1998, allocations: 95.69 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.1999, allocations: 20 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-05/0.2, allocations: 35.98 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.2, allocations: 23.91 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2001, allocations: 87.8 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.2004, allocations: 219.6 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2004, allocations: 0 / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2004, allocations: 3.938 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2004, allocations: 0 / 0.7314 GB, free: 14.12 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.0006475/0.2011, allocations: 423.1 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2011, allocations: 11.97 kB / 0.7319 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.2012, allocations: 38.73 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.2012, allocations: 16.89 kB / 0.7319 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2013, allocations: 110.5 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.2014, allocations: 8.375 kB / 0.732 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.2014, allocations: 24.36 kB / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.2016, allocations: 57.98 kB / 0.7321 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2016, allocations: 0 / 0.7321 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2016, allocations: 4 kB / 0.7321 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2016, allocations: 0 / 0.7321 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.2016, allocations: 23.92 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.2023, allocations: 387.5 kB / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.2023, allocations: 34.56 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.2024, allocations: 16.86 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.2024, allocations: 0 / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.2027, allocations: 107.3 kB / 0.7327 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.2027, allocations: 0 / 0.7327 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003606/0.203, allocations: 137.8 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.2031, allocations: 51.41 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.2032, allocations: 133.9 kB / 0.733 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.2033, allocations: 41.64 kB / 0.733 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.2034, allocations: 96.08 kB / 0.7331 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.2034, allocations: 23.92 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.2035, allocations: 65.67 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2037, allocations: 326.8 kB / 0.7335 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.2039, allocations: 87.95 kB / 0.7336 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.2041, allocations: 140.3 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.2044, allocations: 241.3 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2045, allocations: 4 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006353/0.2051, allocations: 374.5 kB / 0.7343 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/0.2052, allocations: 105.1 kB / 0.7344 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2052, allocations: 7.938 kB / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2052, allocations: 0 / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.481e-05/0.2052, allocations: 4.188 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.2052, allocations: 8 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.2057, allocations: 79.8 kB / 0.7345 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.2058, allocations: 20.06 kB / 0.7345 GB, free: 10.67 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.0001452/0.2059, allocations: 137.7 kB / 0.7346 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.2059, allocations: 7.953 kB / 0.7347 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.206, allocations: 8.375 kB / 0.7347 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.206, allocations: 7.984 kB / 0.7347 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.206, allocations: 0 / 0.7347 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.206, allocations: 0 / 0.7347 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2062, allocations: 168.6 kB / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2062, allocations: 0 / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.2062, allocations: 4 kB / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2062, allocations: 0 / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2062, allocations: 4 kB / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2062, allocations: 3.984 kB / 0.7348 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2062, allocations: 0 / 0.7348 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.2064, allocations: 144.9 kB / 0.735 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.2064, allocations: 11.89 kB / 0.735 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2064, allocations: 0 / 0.735 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.579e-05/0.2065, allocations: 3.984 kB / 0.735 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.2065, allocations: 12.08 kB / 0.735 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2065, allocations: 11.94 kB / 0.735 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.675e-05/0.2066, allocations: 98.36 kB / 0.7351 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2066, allocations: 3.938 kB / 0.7351 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002746/0.2069, allocations: 44 kB / 0.7352 GB, free: 9.941 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.0005734/0.2074, allocations: 0.6748 MB / 0.7358 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.2079, allocations: 330.1 kB / 0.7361 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2079, allocations: 0 / 0.7361 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.208, allocations: 27.92 kB / 0.7362 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2083, allocations: 23.97 kB / 0.7362 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.211, allocations: 2.082 MB / 0.7382 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.2113, allocations: 0.6924 MB / 0.7389 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.2114, allocations: 4.438 kB / 0.7389 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.2114, allocations: 35.36 kB / 0.7389 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2114, allocations: 0 / 0.7389 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.2439, allocations: 3.957 MB / 0.7428 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.28, allocations: 5.797 kB / 0.7428 GB, free: 2.051 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: 14.936612386954948] Failed to read output from testmodel.py, exit status != 0: 11.387005676981062 11.418707608 11.21266699 Calling exit ...