Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.001234/0.001234, 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.001386/0.001386, allocations: 209.7 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.551/1.551, allocations: 230.6 MB / 257.6 MB, free: 8.012 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.9696/0.9696, allocations: 150 MB / 464 MB, free: 10.49 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.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",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.002007/0.002007, allocations: 71.16 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2048, allocations: 89.18 MB / 0.7291 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001906/0.2067, allocations: 0.6373 MB / 0.7297 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2083, allocations: 1.221 MB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.2083, allocations: 0 / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.2083, allocations: 7.938 kB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.2084, allocations: 15.92 kB / 0.731 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.209, allocations: 210.8 kB / 0.7312 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.2093, allocations: 179.6 kB / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.2094, allocations: 8 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2095, allocations: 71.88 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.2096, allocations: 59.86 kB / 0.7315 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.2096, allocations: 16 kB / 0.7315 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-05/0.2097, allocations: 31.97 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.2097, allocations: 11.94 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.2098, allocations: 55.89 kB / 0.7316 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.2101, allocations: 159.8 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2101, allocations: 0 / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2101, allocations: 0 / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2101, allocations: 0 / 0.7317 GB, free: 14.61 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.0005411/0.2106, allocations: 365.4 kB / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2106, allocations: 12.03 kB / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.314e-05/0.2107, allocations: 192 / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.2107, allocations: 34.73 kB / 0.7321 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.2108, allocations: 8.938 kB / 0.7321 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.882e-05/0.2109, allocations: 110.5 kB / 0.7322 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2109, allocations: 8.375 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2109, allocations: 12.38 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.211, allocations: 53.98 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.211, allocations: 0 / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.211, allocations: 11.94 kB / 0.7323 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.211, allocations: 0 / 0.7323 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.2111, allocations: 12 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.2116, allocations: 319.8 kB / 0.7326 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/0.2117, allocations: 34.56 kB / 0.7327 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.2117, allocations: 8.859 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.2117, allocations: 3.938 kB / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.2119, allocations: 95.39 kB / 0.7328 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2119, allocations: 0 / 0.7328 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000251/0.2122, allocations: 105.6 kB / 0.7329 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.2122, allocations: 59.41 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2123, allocations: 121.7 kB / 0.733 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.2124, allocations: 29.7 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.2125, allocations: 96.12 kB / 0.7332 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.2125, allocations: 19.89 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.2126, allocations: 49.62 kB / 0.7332 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2127, allocations: 322.8 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.2129, allocations: 55.97 kB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.213, allocations: 92.64 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.2133, allocations: 163.6 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2133, allocations: 0 / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004513/0.2137, allocations: 264.8 kB / 0.7341 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.279e-05/0.2138, allocations: 71.39 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2138, allocations: 4.125 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2138, allocations: 4 kB / 0.7342 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.091e-05/0.2138, allocations: 3.938 kB / 0.7342 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2138, allocations: 4 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.2142, allocations: 51.89 kB / 0.7342 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.2142, allocations: 15.98 kB / 0.7342 GB, free: 11.76 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,or1.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.0001146/0.2143, allocations: 125.8 kB / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.2143, allocations: 4 kB / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.2144, allocations: 8.359 kB / 0.7344 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2144, allocations: 0 / 0.7344 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2144, allocations: 0 / 0.7344 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2144, allocations: 0 / 0.7344 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.2145, allocations: 152.6 kB / 0.7345 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2145, allocations: 0 / 0.7345 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.2145, allocations: 7.938 kB / 0.7345 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.2145, allocations: 3.984 kB / 0.7345 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2146, allocations: 4 kB / 0.7345 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2146, allocations: 4.062 kB / 0.7345 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2146, allocations: 4 kB / 0.7345 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.2147, allocations: 113 kB / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.2147, allocations: 7.953 kB / 0.7347 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2147, allocations: 0 / 0.7347 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.86e-05/0.2148, allocations: 0 / 0.7347 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.2148, allocations: 11.98 kB / 0.7347 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2148, allocations: 8 kB / 0.7347 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.2149, allocations: 95.2 kB / 0.7348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2149, allocations: 0 / 0.7348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002343/0.2151, allocations: 27.94 kB / 0.7348 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,or1.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.0005037/0.2156, allocations: 0.6553 MB / 0.7354 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.2159, allocations: 218.7 kB / 0.7356 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.216, allocations: 4 kB / 0.7356 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/0.216, allocations: 23.92 kB / 0.7357 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.2162, allocations: 15.98 kB / 0.7357 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.2183, allocations: 1.713 MB / 0.7374 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.2187, allocations: 0.6885 MB / 0.738 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.2187, allocations: 8 kB / 0.738 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.2187, allocations: 19.42 kB / 0.7381 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2187, allocations: 7.938 kB / 0.7381 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.2425, allocations: 3.045 MB / 0.741 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.56, allocations: 10.75 kB / 0.741 GB, free: 4.691 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.466044789005537] Failed to read output from testmodel.py, exit status != 0: 11.724679981009103 11.750033841 11.535655394 Calling exit ...