Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001597/0.001597, allocations: 97.11 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.001991/0.001991, allocations: 204.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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.719 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.049/1.049, allocations: 150 MB / 463.2 MB, free: 10.16 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.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.002062/0.002062, allocations: 70.25 kB / 0.6413 GB, free: 9.809 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1732, allocations: 89.18 MB / 0.7284 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001703/0.1749, allocations: 0.5207 MB / 0.7289 GB, free: 188 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 3.997e-05/0.1749, allocations: 7.938 kB / 0.7289 GB, free: 180 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.1749, allocations: 3.938 kB / 0.7289 GB, free: 176 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.175, allocations: 0 / 0.7289 GB, free: 176 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.536e-05/0.175, allocations: 0 / 0.7289 GB, free: 176 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.917e-05/0.175, allocations: 4 kB / 0.7289 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.1751, allocations: 4 kB / 0.7289 GB, free: 168 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.1751, allocations: 3.984 kB / 0.7289 GB, free: 164 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.234e-05/0.1751, allocations: 0 / 0.7289 GB, free: 164 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.895e-05/0.1752, allocations: 3.984 kB / 0.7289 GB, free: 160 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1752, allocations: 4 kB / 0.7289 GB, free: 156 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.507e-06/0.1752, allocations: 3.938 kB / 0.7289 GB, free: 152 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.1752, allocations: 0 / 0.7289 GB, free: 152 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.1752, allocations: 4 kB / 0.7289 GB, free: 148 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.554e-05/0.1753, allocations: 3.938 kB / 0.7289 GB, free: 144 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1753, allocations: 0 / 0.7289 GB, free: 144 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1753, allocations: 0 / 0.7289 GB, free: 144 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1753, allocations: 0 / 0.7289 GB, free: 144 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003071/0.1756, allocations: 238.8 kB / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1756, allocations: 12.03 kB / 0.7292 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.1756, allocations: 34.69 kB / 0.7292 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.649e-05/0.1757, allocations: 4.938 kB / 0.7292 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1758, allocations: 106.5 kB / 0.7293 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1758, allocations: 384 / 0.7293 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.1758, allocations: 4.375 kB / 0.7293 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.531e-05/0.1759, allocations: 30.27 kB / 0.7293 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1759, allocations: 3.938 kB / 0.7293 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-06/0.1759, allocations: 0 / 0.7293 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1759, allocations: 0 / 0.7293 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.651e-05/0.1759, allocations: 4 kB / 0.7293 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.1762, allocations: 358.5 kB / 0.7297 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.1763, allocations: 173.1 kB / 0.7299 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1764, allocations: 80.14 kB / 0.7299 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.1764, allocations: 79.28 kB / 0.73 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.392e-05/0.1765, allocations: 109.8 kB / 0.7301 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1765, allocations: 0 / 0.7301 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.463e-05/0.1766, allocations: 33.62 kB / 0.7301 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.1766, allocations: 134.7 kB / 0.7303 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.1767, allocations: 89.86 kB / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1767, allocations: 25.7 kB / 0.7304 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.1768, allocations: 84.27 kB / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.1768, allocations: 4 kB / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.1768, allocations: 9.719 kB / 0.7305 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1769, allocations: 310.8 kB / 0.7308 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.1769, allocations: 0 / 0.7308 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-06/0.1769, allocations: 4 kB / 0.7308 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.508e-05/0.177, allocations: 79.28 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-05/0.177, allocations: 83.16 kB / 0.7309 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.688e-05/0.1771, allocations: 33.62 kB / 0.731 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.1771, allocations: 83.28 kB / 0.731 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/0.1772, allocations: 75.28 kB / 0.7311 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.924e-05/0.1772, allocations: 154.6 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.459e-05/0.1773, allocations: 83.22 kB / 0.7313 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.237e-05/0.1773, allocations: 154.5 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.1774, allocations: 79.22 kB / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.1774, allocations: 87.27 kB / 0.7316 GB, free: 13.15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001372/0.1776, allocations: 260.3 kB / 0.7319 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.1777, allocations: 109 kB / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.1777, allocations: 112.1 kB / 0.7321 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.527e-05/0.1778, allocations: 176.3 kB / 0.7323 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.768e-05/0.1779, allocations: 188.2 kB / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-05/0.178, allocations: 184.3 kB / 0.7326 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.1782, allocations: 376.2 kB / 0.733 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-05/0.1783, allocations: 101.3 kB / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.1783, allocations: 105 kB / 0.7332 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.875e-05/0.1784, allocations: 192.2 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/0.1785, allocations: 176.3 kB / 0.7335 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.074e-05/0.1786, allocations: 180.2 kB / 0.7337 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.676e-05/0.1787, allocations: 180.3 kB / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.1788, allocations: 311.7 kB / 0.7342 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.1789, allocations: 101 kB / 0.7343 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.39e-05/0.179, allocations: 184.2 kB / 0.7345 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.1791, allocations: 109 kB / 0.7346 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.1791, allocations: 180.3 kB / 0.7347 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/0.1792, allocations: 112.9 kB / 0.7348 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.1792, allocations: 75.28 kB / 0.7349 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1792, allocations: 0 / 0.7349 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002606/0.1795, allocations: 0 / 0.7349 GB, free: 9.609 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004877/0.18, allocations: 0.8048 MB / 0.7357 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 3.648e-05/0.18, allocations: 3.938 kB / 0.7357 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.18, allocations: 8.094 kB / 0.7357 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.18, allocations: 0 / 0.7357 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1805, allocations: 451.7 kB / 0.7361 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1816, allocations: 1.535 MB / 0.7376 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.598e-05/0.1817, allocations: 51.36 kB / 0.7377 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.051e-06/0.1817, allocations: 0 / 0.7377 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.1817, allocations: 7.438 kB / 0.7377 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of SimCode: time 5.3e-07/0.1817, allocations: 0 / 0.7377 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.2083, allocations: 1.418 MB / 0.7391 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.33, allocations: 16.7 kB / 0.7391 GB, free: 5.332 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.219009728170931] Failed to read output from testmodel.py, exit status != 0: 11.446226086001843 11.470353535 11.29197345 Calling exit ...