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.001325/0.001325, allocations: 105.2 kB / 19.74 MB, free: 2.004 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.001431/0.001431, allocations: 209.5 kB / 23.04 MB, free: 4.891 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.008/1.008, allocations: 150 MB / 463.2 MB, free: 10.19 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.002115/0.002115, allocations: 66.44 kB / 0.6413 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2009, allocations: 89.17 MB / 0.7284 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001942/0.2029, allocations: 0.6357 MB / 0.729 GB, free: 124 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.2046, allocations: 1.206 MB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.2047, allocations: 4 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.2047, allocations: 7.922 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.2048, allocations: 7.922 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.2054, allocations: 218 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.2057, allocations: 175.7 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.2058, allocations: 7.984 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.2059, allocations: 71.89 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.206, allocations: 59.78 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.2061, allocations: 16 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.2062, allocations: 27.98 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.2062, allocations: 11.98 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.2063, allocations: 55.83 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.2065, allocations: 147.9 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2065, allocations: 0 / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2065, allocations: 0 / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.2065, allocations: 0 / 0.7309 GB, free: 14.11 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.0005902/0.2071, allocations: 365.5 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2072, allocations: 12.03 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.2072, allocations: 30.75 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.2073, allocations: 12.92 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2074, allocations: 114.4 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2074, allocations: 8.375 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.2074, allocations: 12.38 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2075, allocations: 46.23 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2076, allocations: 3.938 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2076, allocations: 4 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2076, allocations: 0 / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.2076, allocations: 16 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.2081, allocations: 307.8 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.2082, allocations: 34.58 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.2082, allocations: 12.94 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.2082, allocations: 0 / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.2084, allocations: 87.27 kB / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.2084, allocations: 0 / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002585/0.2087, allocations: 105.6 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.2087, allocations: 59.38 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2088, allocations: 125.7 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.2089, allocations: 37.7 kB / 0.7323 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.2089, allocations: 84.14 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.2089, allocations: 19.89 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.209, allocations: 45.69 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2092, allocations: 322.8 kB / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2094, allocations: 119.4 kB / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.2096, allocations: 155.6 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.2098, allocations: 163.6 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2098, allocations: 4 kB / 0.7331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004938/0.2103, allocations: 320.3 kB / 0.7334 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/0.2103, allocations: 73.27 kB / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2103, allocations: 4 kB / 0.7335 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2104, allocations: 0 / 0.7335 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.814e-05/0.2104, allocations: 7.984 kB / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2104, allocations: 0 / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.2107, allocations: 60.02 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.2108, allocations: 15.94 kB / 0.7336 GB, free: 11.07 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.0001154/0.2109, allocations: 125.8 kB / 0.7337 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.2109, allocations: 0 / 0.7337 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.2109, allocations: 12.84 kB / 0.7337 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2109, allocations: 0 / 0.7337 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.211, allocations: 3.984 kB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.211, allocations: 0 / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.2111, allocations: 156.6 kB / 0.7339 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2111, allocations: 7.875 kB / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-05/0.2111, allocations: 4 kB / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2111, allocations: 0 / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2111, allocations: 0 / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2111, allocations: 0 / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2111, allocations: 0 / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.2113, allocations: 125.2 kB / 0.734 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.2113, allocations: 3.953 kB / 0.734 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2113, allocations: 7.984 kB / 0.734 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.2114, allocations: 0 / 0.734 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.2114, allocations: 15.98 kB / 0.734 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2114, allocations: 4 kB / 0.734 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.2115, allocations: 87.27 kB / 0.7341 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2115, allocations: 4 kB / 0.7341 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002376/0.2117, allocations: 24 kB / 0.7342 GB, free: 10.43 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.0005656/0.2123, allocations: 0.6592 MB / 0.7348 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.2127, allocations: 278.1 kB / 0.7351 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.2127, allocations: 256 / 0.7351 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.976e-05/0.2127, allocations: 31.98 kB / 0.7351 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.2129, allocations: 14.94 kB / 0.7351 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.2152, allocations: 1.967 MB / 0.737 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.194e-05/0.2152, allocations: 71.28 kB / 0.7371 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.2152, allocations: 11.98 kB / 0.7371 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.2153, allocations: 19.44 kB / 0.7371 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2153, allocations: 0 / 0.7371 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.2474, allocations: 3.643 MB / 0.7407 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.12, allocations: 4.062 kB / 0.7407 GB, free: 3.66 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: 14.97974817105569] Failed to read output from testmodel.py, exit status != 0: 11.225069120991975 11.243228061 11.032038119 Calling exit ...