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.001437/0.001437, allocations: 97.17 kB / 19.74 MB, free: 1.871 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.001581/0.001581, allocations: 203.3 kB / 23.04 MB, free: 5.008 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.9073/0.9073, allocations: 150 MB / 463.2 MB, free: 10.23 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.002054/0.002054, allocations: 66.41 kB / 0.6413 GB, free: 9.859 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1703, allocations: 89.17 MB / 0.7284 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001896/0.1722, allocations: 0.6367 MB / 0.729 GB, free: 132 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1738, allocations: 1.194 MB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.1739, allocations: 4 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.1739, allocations: 3.938 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.174, allocations: 23.84 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.1746, allocations: 207 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1748, allocations: 179.7 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.814e-05/0.1749, allocations: 11.98 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.175, allocations: 67.89 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1751, allocations: 59.77 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.1751, allocations: 20 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.1752, allocations: 24 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.1752, allocations: 7.984 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.1753, allocations: 55.83 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1755, allocations: 147.9 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1755, allocations: 0 / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1755, allocations: 0 / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1755, allocations: 0 / 0.7309 GB, free: 14.13 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.0004767/0.176, allocations: 365.5 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.176, allocations: 8.031 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.176, allocations: 34.75 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.1761, allocations: 8.938 kB / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.455e-05/0.1762, allocations: 114.5 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1762, allocations: 16.3 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.1762, allocations: 12.38 kB / 0.7315 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.641e-05/0.1763, allocations: 42.25 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1763, allocations: 3.938 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1763, allocations: 0 / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1764, allocations: 4 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.1764, allocations: 15.98 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.1768, allocations: 295.9 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.39e-05/0.1769, allocations: 38.5 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.1769, allocations: 16.86 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1769, allocations: 3.938 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1771, allocations: 79.45 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1771, allocations: 0 / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002292/0.1773, allocations: 109.5 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1774, allocations: 55.39 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.1775, allocations: 125.7 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1775, allocations: 29.7 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1776, allocations: 88.14 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.1776, allocations: 23.89 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.1777, allocations: 45.69 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1779, allocations: 322.8 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.178, allocations: 123.4 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.1782, allocations: 151.7 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1784, allocations: 159.5 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1784, allocations: 0 / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000463/0.1789, allocations: 332.2 kB / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.1789, allocations: 69.27 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1789, allocations: 4 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1789, allocations: 0 / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.119e-05/0.179, allocations: 7.984 kB / 0.7335 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.179, allocations: 0 / 0.7335 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.1793, allocations: 56.02 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.1793, allocations: 8.469 kB / 0.7336 GB, free: 11.11 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.0001042/0.1794, allocations: 133.7 kB / 0.7337 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.1794, allocations: 4 kB / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.1795, allocations: 8.375 kB / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1795, allocations: 0 / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1795, allocations: 3.938 kB / 0.7337 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1795, allocations: 0 / 0.7337 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.1796, allocations: 160.5 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1796, allocations: 4 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-06/0.1796, allocations: 3.984 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1796, allocations: 4 kB / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.1796, allocations: 0 / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1796, allocations: 0 / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1796, allocations: 3.938 kB / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.1798, allocations: 113 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.1798, allocations: 7.953 kB / 0.734 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1798, allocations: 3.984 kB / 0.734 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.1798, allocations: 0 / 0.734 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1799, allocations: 11.98 kB / 0.734 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1799, allocations: 8 kB / 0.734 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.1799, allocations: 87.28 kB / 0.7341 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1799, allocations: 0 / 0.7341 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002239/0.1802, allocations: 27.98 kB / 0.7341 GB, free: 10.46 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.0004485/0.1806, allocations: 0.6534 MB / 0.7348 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.181, allocations: 278.1 kB / 0.735 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.181, allocations: 3.938 kB / 0.735 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.181, allocations: 16 kB / 0.7351 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1812, allocations: 24.42 kB / 0.7351 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.1833, allocations: 1.968 MB / 0.737 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/0.1833, allocations: 71.33 kB / 0.7371 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.353e-05/0.1834, allocations: 4 kB / 0.7371 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.1834, allocations: 23.42 kB / 0.7371 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.1834, allocations: 4 kB / 0.7371 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.2138, allocations: 3.614 MB / 0.7406 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.43, allocations: 11.78 kB / 0.7406 GB, free: 3.727 MB / 0.5606 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 13.998943384969607] Failed to read output from testmodel.py, exit status != 0: 10.534902076004073 10.548954763 10.370531777 Calling exit ...