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.00174/0.00174, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001729/0.001729, allocations: 213.5 kB / 22.99 MB, free: 4.605 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.9929/0.9929, allocations: 149.9 MB / 463 MB, free: 10.34 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",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.002194/0.002194, allocations: 70.77 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2039, allocations: 89.17 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001925/0.2058, allocations: 0.6234 MB / 0.7288 GB, free: 388 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.2074, allocations: 1.206 MB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.2075, allocations: 0 / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.2075, allocations: 3.938 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.2076, allocations: 15.86 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006716/0.2082, allocations: 217.8 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.2085, allocations: 179.6 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.2086, allocations: 4 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.2087, allocations: 67.89 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2088, allocations: 59.78 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.2088, allocations: 16 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.291e-05/0.2089, allocations: 27.98 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.2089, allocations: 8 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/0.209, allocations: 59.83 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.2092, allocations: 147.8 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.2093, allocations: 4 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.103e-06/0.2093, allocations: 0 / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2093, allocations: 0 / 0.7307 GB, free: 14.38 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.0005381/0.2098, allocations: 361.5 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2098, allocations: 12.03 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.2099, allocations: 34.75 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.2099, allocations: 20.92 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.21, allocations: 110.5 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.2101, allocations: 4.375 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.2101, allocations: 8.375 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2102, allocations: 50.23 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2102, allocations: 7.875 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2102, allocations: 7.938 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2102, allocations: 0 / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.2103, allocations: 12 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.2108, allocations: 287.9 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.2108, allocations: 42.55 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.2109, allocations: 12.86 kB / 0.7317 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.2109, allocations: 3.938 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.2111, allocations: 87.39 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2111, allocations: 0 / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002501/0.2113, allocations: 105.6 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.2114, allocations: 59.41 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2115, allocations: 125.7 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.2115, allocations: 29.7 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.2116, allocations: 92.12 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2116, allocations: 15.91 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.2117, allocations: 53.69 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2118, allocations: 318.8 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.212, allocations: 119.4 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.2122, allocations: 155.6 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.2124, allocations: 155.6 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2124, allocations: 0 / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005055/0.2129, allocations: 332.2 kB / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.213, allocations: 67.39 kB / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.213, allocations: 4 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.213, allocations: 0 / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.261e-05/0.213, allocations: 7.938 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.213, allocations: 0 / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.2134, allocations: 60.02 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.2134, allocations: 15.98 kB / 0.7334 GB, free: 11.34 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.0001243/0.2135, allocations: 121.8 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.2135, allocations: 0 / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.2136, allocations: 12.38 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2136, allocations: 0 / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2136, allocations: 3.984 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2136, allocations: 4.406 kB / 0.7335 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.2137, allocations: 140.7 kB / 0.7336 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2137, allocations: 4.062 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.2138, allocations: 11.94 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2138, allocations: 0 / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2138, allocations: 7.922 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2138, allocations: 0 / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2138, allocations: 0 / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.2139, allocations: 117 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.2139, allocations: 7.891 kB / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.214, allocations: 4 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.214, allocations: 4 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.214, allocations: 7.969 kB / 0.7338 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.214, allocations: 4 kB / 0.7338 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.348e-05/0.2141, allocations: 95.27 kB / 0.7339 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2141, allocations: 0 / 0.7339 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000238/0.2143, allocations: 32 kB / 0.7339 GB, free: 10.7 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.0005261/0.2149, allocations: 0.6475 MB / 0.7346 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.2153, allocations: 278.1 kB / 0.7348 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2153, allocations: 0 / 0.7348 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.2153, allocations: 27.92 kB / 0.7349 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2156, allocations: 21.8 kB / 0.7349 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.2178, allocations: 1.956 MB / 0.7368 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.758e-05/0.2179, allocations: 67.34 kB / 0.7369 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.2179, allocations: 7.984 kB / 0.7369 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.218, allocations: 19.53 kB / 0.7369 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.218, allocations: 7.875 kB / 0.7369 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.2514, allocations: 3.63 MB / 0.7404 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.4, allocations: 4.828 kB / 0.7404 GB, free: 3.961 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 sys.exit(0), Time elapsed: 15.343863319139928] Failed to read output from testmodel.py, exit status != 0: 11.504089745227247 11.52054673 11.307784049 Calling exit ...