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.001774/0.001774, allocations: 109 kB / 20.48 MB, free: 1.473 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.002163/0.002163, allocations: 208.4 kB / 23.79 MB, free: 4.684 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.496/1.496, allocations: 230.6 MB / 257.6 MB, free: 7.977 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.012/1.012, allocations: 150 MB / 464 MB, free: 10.47 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.00209/0.00209, allocations: 74.33 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2061, allocations: 89.16 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.002026/0.2081, allocations: 0.6499 MB / 0.7297 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.2098, allocations: 1.221 MB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.2099, allocations: 0 / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.2099, allocations: 3.938 kB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.56e-05/0.21, allocations: 19.84 kB / 0.731 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.2107, allocations: 209.9 kB / 0.7312 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.2109, allocations: 179.7 kB / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.211, allocations: 8 kB / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2111, allocations: 71.88 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.2113, allocations: 63.84 kB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.2113, allocations: 12 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.2114, allocations: 31.98 kB / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.2114, allocations: 4 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.98e-05/0.2115, allocations: 59.81 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.2117, allocations: 159.8 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2117, allocations: 0 / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2117, allocations: 0 / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2117, allocations: 0 / 0.7317 GB, free: 14.59 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.0005453/0.2123, allocations: 361.5 kB / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2123, allocations: 8.031 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.391e-05/0.2123, allocations: 8.188 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.2124, allocations: 38.73 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.2124, allocations: 8.938 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.2125, allocations: 118.5 kB / 0.7322 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2125, allocations: 4.375 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.2126, allocations: 12.31 kB / 0.7323 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.2127, allocations: 57.92 kB / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2127, allocations: 0 / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2127, allocations: 0 / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.2127, allocations: 4 kB / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.2127, allocations: 12 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.2132, allocations: 323.8 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.042e-05/0.2133, allocations: 34.5 kB / 0.7327 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.2133, allocations: 16.86 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-06/0.2133, allocations: 0 / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.2135, allocations: 83.41 kB / 0.7328 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2135, allocations: 0 / 0.7328 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002727/0.2138, allocations: 109.6 kB / 0.7329 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.2139, allocations: 55.39 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.214, allocations: 117.8 kB / 0.733 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.214, allocations: 29.7 kB / 0.7331 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.2141, allocations: 92.12 kB / 0.7332 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2141, allocations: 15.91 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.2142, allocations: 49.69 kB / 0.7332 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2143, allocations: 322.8 kB / 0.7335 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2145, allocations: 59.97 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2146, allocations: 95.08 kB / 0.7337 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.2149, allocations: 164.1 kB / 0.7338 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2149, allocations: 0 / 0.7338 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00048/0.2154, allocations: 268.8 kB / 0.7341 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.2154, allocations: 67.39 kB / 0.7342 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2154, allocations: 3.938 kB / 0.7342 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2154, allocations: 4 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.258e-05/0.2155, allocations: 0 / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2155, allocations: 4 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.2158, allocations: 60.02 kB / 0.7342 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.2159, allocations: 11.98 kB / 0.7342 GB, free: 11.75 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.0001287/0.216, allocations: 124.5 kB / 0.7343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.216, allocations: 7.984 kB / 0.7344 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.2161, allocations: 12.36 kB / 0.7344 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2161, allocations: 4 kB / 0.7344 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2161, allocations: 4 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2161, allocations: 3.938 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.2162, allocations: 156.7 kB / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2162, allocations: 0 / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-06/0.2163, allocations: 0 / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2163, allocations: 3.984 kB / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2163, allocations: 4 kB / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2163, allocations: 0 / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2163, allocations: 0 / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.2164, allocations: 117 kB / 0.7346 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.2165, allocations: 3.953 kB / 0.7347 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2165, allocations: 8 kB / 0.7347 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.2165, allocations: 0 / 0.7347 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.2165, allocations: 3.984 kB / 0.7347 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.2165, allocations: 4 kB / 0.7347 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.984e-05/0.2166, allocations: 95.2 kB / 0.7348 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2166, allocations: 0 / 0.7348 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002508/0.2169, allocations: 36.22 kB / 0.7348 GB, free: 11.11 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.0005445/0.2174, allocations: 0.6553 MB / 0.7354 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.2178, allocations: 211.2 kB / 0.7356 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2178, allocations: 3.938 kB / 0.7356 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.524e-05/0.2178, allocations: 28.17 kB / 0.7357 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.2181, allocations: 22.47 kB / 0.7357 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.2202, allocations: 1.721 MB / 0.7374 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.2206, allocations: 0.6885 MB / 0.738 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.2206, allocations: 4 kB / 0.738 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.2207, allocations: 23.42 kB / 0.7381 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of SimCode: time 9.11e-07/0.2207, allocations: 0 / 0.7381 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.2456, allocations: 3.043 MB / 0.741 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.35, allocations: 7.516 kB / 0.741 GB, free: 4.676 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.282235131016932] Failed to read output from testmodel.py, exit status != 0: 11.51353202800965 11.540548618 11.324519576 Calling exit ...