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.001473/0.001473, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.002121/0.002121, allocations: 221.7 kB / 23 MB, free: 5.074 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.9261/0.9261, allocations: 150 MB / 463.2 MB, free: 10.53 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",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.002042/0.002042, allocations: 62.56 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1892, allocations: 89.18 MB / 0.7284 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.002205/0.1914, allocations: 0.636 MB / 0.729 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1933, allocations: 1.221 MB / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.1933, allocations: 0 / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.1934, allocations: 3.938 kB / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.1934, allocations: 15.86 kB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.1942, allocations: 218.5 kB / 0.7304 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.1945, allocations: 171.7 kB / 0.7306 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.1946, allocations: 15.97 kB / 0.7306 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1947, allocations: 71.83 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.1948, allocations: 63.78 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.1949, allocations: 16 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.195, allocations: 28 kB / 0.7308 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.195, allocations: 11.98 kB / 0.7308 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.1951, allocations: 59.83 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1954, allocations: 151.8 kB / 0.731 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1954, allocations: 4 kB / 0.731 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1954, allocations: 0 / 0.731 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.1954, allocations: 0 / 0.731 GB, free: 14.66 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.0005944/0.196, allocations: 361.5 kB / 0.7313 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.196, allocations: 12.03 kB / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.196, allocations: 30.75 kB / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.1961, allocations: 12.94 kB / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1962, allocations: 118.4 kB / 0.7315 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1962, allocations: 8.375 kB / 0.7315 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.1963, allocations: 8.375 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1964, allocations: 46.25 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1964, allocations: 7.938 kB / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1964, allocations: 3.984 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1964, allocations: 0 / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.1965, allocations: 12 kB / 0.7316 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.197, allocations: 323.8 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.4e-05/0.1971, allocations: 34.61 kB / 0.7319 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.1971, allocations: 16.84 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1971, allocations: 0 / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1973, allocations: 83.31 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1973, allocations: 4 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002616/0.1976, allocations: 109.5 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1976, allocations: 51.41 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1978, allocations: 125.7 kB / 0.7323 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1978, allocations: 33.7 kB / 0.7323 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.1979, allocations: 92.14 kB / 0.7324 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.1979, allocations: 11.89 kB / 0.7324 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.198, allocations: 49.69 kB / 0.7325 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1981, allocations: 322.8 kB / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1983, allocations: 59.97 kB / 0.7328 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1984, allocations: 96.19 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.1986, allocations: 163.6 kB / 0.7331 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1986, allocations: 3.938 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004352/0.1991, allocations: 264.8 kB / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.1991, allocations: 63.41 kB / 0.7334 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.1991, allocations: 7.984 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1992, allocations: 0 / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.115e-05/0.1992, allocations: 8 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1992, allocations: 128 / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.1995, allocations: 55.89 kB / 0.7335 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.1995, allocations: 11.98 kB / 0.7335 GB, free: 11.82 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.0001128/0.1997, allocations: 127.7 kB / 0.7336 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.1997, allocations: 8 kB / 0.7336 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.1997, allocations: 8.844 kB / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1997, allocations: 4 kB / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1997, allocations: 0 / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1997, allocations: 0 / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.1998, allocations: 156.6 kB / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1998, allocations: 3.938 kB / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.1999, allocations: 0 / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1999, allocations: 4 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1999, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1999, allocations: 4.062 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.1999, allocations: 3.984 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.2, allocations: 117 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.2001, allocations: 7.938 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2001, allocations: 4 kB / 0.7339 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.2001, allocations: 0 / 0.7339 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.2001, allocations: 7.984 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.2001, allocations: 4 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.37e-05/0.2002, allocations: 91.27 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2002, allocations: 0 / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002321/0.2004, allocations: 32 kB / 0.734 GB, free: 11.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: 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.0005354/0.201, allocations: 0.6553 MB / 0.7347 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.2013, allocations: 214.7 kB / 0.7349 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2013, allocations: 256 / 0.7349 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.2014, allocations: 27.98 kB / 0.7349 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.2016, allocations: 21.34 kB / 0.7349 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.2037, allocations: 1.721 MB / 0.7366 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.204, allocations: 0.6923 MB / 0.7373 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.2041, allocations: 7.984 kB / 0.7373 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2041, allocations: 15.44 kB / 0.7373 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.2041, allocations: 0 / 0.7373 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.2352, allocations: 3.014 MB / 0.7402 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.05, allocations: 8.859 kB / 0.7402 GB, free: 4.762 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.792728236177936] Failed to read output from testmodel.py, exit status != 0: 11.158349779900163 11.180595384 10.981880296 Calling exit ...