Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.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.001308/0.001308, allocations: 119 kB / 19.69 MB, free: 2.199 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.001481/0.001481, allocations: 222.3 kB / 23.01 MB, free: 5.047 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9841/0.9841, 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.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",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.002273/0.002273, allocations: 66.55 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1859, allocations: 89.17 MB / 0.7284 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001871/0.1878, allocations: 0.6393 MB / 0.729 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1895, allocations: 1.221 MB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.1895, allocations: 0 / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.1895, allocations: 3.938 kB / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.1896, allocations: 23.86 kB / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006943/0.1903, allocations: 204.4 kB / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1906, allocations: 191.6 kB / 0.7306 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.1907, allocations: 7.984 kB / 0.7306 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1908, allocations: 67.89 kB / 0.7307 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1909, allocations: 59.86 kB / 0.7307 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.191, allocations: 16 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.1911, allocations: 31.98 kB / 0.7308 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.1911, allocations: 15.97 kB / 0.7308 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.1912, allocations: 55.84 kB / 0.7308 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.1914, allocations: 163.7 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1914, allocations: 0 / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1914, allocations: 0 / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.82e-06/0.1914, allocations: 0 / 0.731 GB, free: 14.62 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.0005338/0.192, allocations: 357.5 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.192, allocations: 12.03 kB / 0.7313 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.192, allocations: 38.73 kB / 0.7314 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.1921, allocations: 8.938 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1922, allocations: 110.5 kB / 0.7315 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1922, allocations: 8.375 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1923, allocations: 8.375 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1924, allocations: 58.17 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1924, allocations: 3.938 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1924, allocations: 4 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1924, allocations: 3.984 kB / 0.7316 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.1925, allocations: 15.98 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.193, allocations: 327.8 kB / 0.7319 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.136e-05/0.193, allocations: 30.52 kB / 0.7319 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.1931, allocations: 20.94 kB / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1931, allocations: 0 / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1933, allocations: 87.3 kB / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1933, allocations: 4 kB / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002722/0.1936, allocations: 109.6 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1936, allocations: 51.41 kB / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1937, allocations: 129.7 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.1938, allocations: 29.7 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.1938, allocations: 88.14 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.1939, allocations: 15.89 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.1939, allocations: 49.69 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1941, allocations: 330.7 kB / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1942, allocations: 55.97 kB / 0.7329 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1944, allocations: 96.75 kB / 0.7329 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.1946, allocations: 159.6 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1946, allocations: 0 / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004479/0.195, allocations: 264.9 kB / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.1951, allocations: 67.39 kB / 0.7334 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1951, allocations: 0 / 0.7334 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1951, allocations: 7.938 kB / 0.7334 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.033e-05/0.1951, allocations: 3.984 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1952, allocations: 4.125 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.1955, allocations: 59.89 kB / 0.7335 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.1955, allocations: 12.45 kB / 0.7335 GB, free: 11.77 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,xor1.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.0001065/0.1956, allocations: 123.8 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.1956, allocations: 4 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.1957, allocations: 8.375 kB / 0.7336 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1957, allocations: 4 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1957, allocations: 3.938 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1957, allocations: 4 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1958, allocations: 156.5 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1958, allocations: 0 / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-06/0.1958, allocations: 0 / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1958, allocations: 0 / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1958, allocations: 8 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1958, allocations: 0 / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1959, allocations: 8.047 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.196, allocations: 117 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.196, allocations: 7.938 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.196, allocations: 4 kB / 0.7339 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.1961, allocations: 0 / 0.7339 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.1961, allocations: 11.98 kB / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1961, allocations: 0 / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.901e-05/0.1962, allocations: 95.2 kB / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1962, allocations: 0 / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00024/0.1964, allocations: 32 kB / 0.7341 GB, free: 11.12 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,xor1.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.0005343/0.1969, allocations: 0.6514 MB / 0.7347 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.1973, allocations: 222.7 kB / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1973, allocations: 256 / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.1974, allocations: 27.92 kB / 0.7349 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.1976, allocations: 18.64 kB / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.1998, allocations: 1.722 MB / 0.7366 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.2002, allocations: 0.6923 MB / 0.7373 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.2002, allocations: 4 kB / 0.7373 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.2003, allocations: 19.42 kB / 0.7373 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.2003, allocations: 0 / 0.7373 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.2319, allocations: 3.034 MB / 0.7403 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 20.11 kB / 0.7403 GB, free: 4.68 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.040106168016791] Failed to read output from testmodel.py, exit status != 0: 11.314342333003879 11.334210312 11.139203018 Calling exit ...