Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.001684/0.001684, 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.002167/0.002167, allocations: 217 kB / 23.78 MB, free: 4.523 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.557/1.557, allocations: 230.6 MB / 257.5 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.9776/0.9776, allocations: 150 MB / 463.9 MB, free: 10.24 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.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",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.002026/0.002026, allocations: 70.11 kB / 0.642 GB, free: 9.906 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1904, allocations: 89.17 MB / 0.729 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.003039/0.1935, allocations: 0.6276 MB / 0.7297 GB, free: 192 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1956, allocations: 1.202 MB / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.1957, allocations: 0 / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.1958, allocations: 3.938 kB / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.348e-05/0.1959, allocations: 23.8 kB / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008222/0.1967, allocations: 210.4 kB / 0.7311 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.197, allocations: 175.7 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1971, allocations: 15.97 kB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1972, allocations: 63.91 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1974, allocations: 63.78 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.1975, allocations: 12 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.302e-05/0.1975, allocations: 31.98 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.1976, allocations: 8 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.499e-05/0.1977, allocations: 55.88 kB / 0.7315 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1979, allocations: 159.8 kB / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1979, allocations: 0 / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1979, allocations: 0 / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1979, allocations: 0 / 0.7316 GB, free: 14.17 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005828/0.1985, allocations: 361.5 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1986, allocations: 8.031 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.1986, allocations: 192 / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.1986, allocations: 38.73 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.1987, allocations: 12.94 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1988, allocations: 110.5 kB / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1988, allocations: 8.375 kB / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.1989, allocations: 8.375 kB / 0.7321 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.199, allocations: 57.98 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.199, allocations: 3.938 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.199, allocations: 4 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.199, allocations: 0 / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.1991, allocations: 15.98 kB / 0.7322 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1996, allocations: 287.9 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.1996, allocations: 26.58 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.1997, allocations: 20.94 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.1997, allocations: 7.938 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.1999, allocations: 83.31 kB / 0.7326 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.1999, allocations: 0 / 0.7326 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000271/0.2002, allocations: 105.6 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.2002, allocations: 63.28 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2003, allocations: 125.7 kB / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.2004, allocations: 33.7 kB / 0.7329 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.2004, allocations: 88.14 kB / 0.733 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.2005, allocations: 11.91 kB / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2006, allocations: 49.69 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2007, allocations: 326.8 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.2009, allocations: 123.4 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2011, allocations: 147.7 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.2013, allocations: 159.6 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2013, allocations: 4 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005193/0.2018, allocations: 324.3 kB / 0.7341 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.2019, allocations: 69.73 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2019, allocations: 4 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2019, allocations: 0 / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.891e-05/0.202, allocations: 8.406 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.202, allocations: 0 / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.2023, allocations: 55.89 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.2024, allocations: 20.08 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.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 (9): * Single equations (assignments): 7 * 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.0001169/0.2025, allocations: 123.8 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.2025, allocations: 7.922 kB / 0.7344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.2025, allocations: 16.36 kB / 0.7344 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2026, allocations: 0 / 0.7344 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2026, allocations: 0 / 0.7344 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2026, allocations: 0 / 0.7344 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2027, allocations: 152.6 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2027, allocations: 0 / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.2027, allocations: 7.938 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2027, allocations: 4 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.2027, allocations: 0 / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2027, allocations: 4.062 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2027, allocations: 0 / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.2029, allocations: 117 kB / 0.7347 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.2029, allocations: 3.953 kB / 0.7347 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.2029, allocations: 0 / 0.7347 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.203, allocations: 8 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.203, allocations: 3.984 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.203, allocations: 7.938 kB / 0.7347 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.2031, allocations: 91.27 kB / 0.7348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2031, allocations: 4 kB / 0.7348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002537/0.2033, allocations: 39.88 kB / 0.7348 GB, free: 10.5 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0005225/0.2038, allocations: 0.6476 MB / 0.7355 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.2043, allocations: 274.1 kB / 0.7357 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2043, allocations: 0 / 0.7357 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.022e-05/0.2043, allocations: 31.92 kB / 0.7358 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.2046, allocations: 16.52 kB / 0.7358 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.207, allocations: 1.968 MB / 0.7377 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.207, allocations: 71.33 kB / 0.7378 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.2071, allocations: 4 kB / 0.7378 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.2071, allocations: 19.38 kB / 0.7378 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2071, allocations: 0 / 0.7378 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.2342, allocations: 3.239 MB / 0.7409 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.53, allocations: 9.641 kB / 0.741 GB, free: 4.16 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.52541946596466] Failed to read output from testmodel.py, exit status != 0: 11.693825602997094 11.708643682 11.507582886 Calling exit ...