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.001455/0.001455, allocations: 104.3 kB / 19.7 MB, free: 2.062 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.002088/0.002088, allocations: 206.5 kB / 22.98 MB, free: 4.883 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.007/1.007, allocations: 149.9 MB / 463.1 MB, free: 10.38 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.00226/0.00226, allocations: 71.72 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2034, allocations: 89.17 MB / 0.7282 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002232/0.2056, allocations: 0.5367 MB / 0.7287 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.536e-05/0.2057, allocations: 7.938 kB / 0.7287 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.2057, allocations: 0 / 0.7287 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.2057, allocations: 0 / 0.7287 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.958e-05/0.2058, allocations: 3.938 kB / 0.7287 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.986e-05/0.2058, allocations: 0 / 0.7287 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.586e-05/0.2059, allocations: 4 kB / 0.7287 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.2059, allocations: 4 kB / 0.7287 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.206, allocations: 0 / 0.7287 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.915e-05/0.206, allocations: 0 / 0.7287 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.206, allocations: 4 kB / 0.7287 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-06/0.206, allocations: 3.938 kB / 0.7287 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.206, allocations: 0 / 0.7287 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.206, allocations: 7.984 kB / 0.7287 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.492e-05/0.2061, allocations: 3.984 kB / 0.7287 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2061, allocations: 0 / 0.7287 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2061, allocations: 0 / 0.7287 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.2061, allocations: 0 / 0.7287 GB, free: 0.4961 MB / 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.0003581/0.2065, allocations: 241.3 kB / 0.729 GB, free: 236 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2065, allocations: 8.031 kB / 0.729 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.2066, allocations: 34.75 kB / 0.729 GB, free: 184 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.2066, allocations: 8.922 kB / 0.729 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2067, allocations: 102.5 kB / 0.7291 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2067, allocations: 384 / 0.7291 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2067, allocations: 384 / 0.7291 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.816e-05/0.2068, allocations: 34.2 kB / 0.7291 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2068, allocations: 3.938 kB / 0.7291 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2069, allocations: 0 / 0.7291 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2069, allocations: 0 / 0.7291 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.2069, allocations: 4 kB / 0.7291 GB, free: 0 / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.2073, allocations: 354.6 kB / 0.7295 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2074, allocations: 181 kB / 0.7297 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.2074, allocations: 84.08 kB / 0.7297 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.2075, allocations: 79.28 kB / 0.7298 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.2075, allocations: 105.8 kB / 0.7299 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2075, allocations: 0 / 0.7299 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.142e-05/0.2076, allocations: 25.7 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.2077, allocations: 126.7 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2078, allocations: 105.8 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2078, allocations: 25.7 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.2079, allocations: 84.14 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.2079, allocations: 4.125 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.2079, allocations: 9.719 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2081, allocations: 314.8 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-06/0.2081, allocations: 0 / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.2081, allocations: 4 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.2081, allocations: 79.28 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-05/0.2081, allocations: 79.22 kB / 0.7307 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.062e-05/0.2082, allocations: 25.7 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.2083, allocations: 83.28 kB / 0.7308 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.523e-05/0.2083, allocations: 87.2 kB / 0.7309 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.093e-05/0.2084, allocations: 154.6 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.074e-05/0.2084, allocations: 79.28 kB / 0.7311 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.569e-05/0.2085, allocations: 154.5 kB / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.2086, allocations: 75.28 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.2086, allocations: 83.22 kB / 0.7314 GB, free: 13.51 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.0001601/0.2088, allocations: 260.3 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.2089, allocations: 109 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/0.2089, allocations: 116.1 kB / 0.7319 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-05/0.209, allocations: 176.3 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.802e-05/0.2091, allocations: 180.3 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.371e-05/0.2092, allocations: 184.2 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.2095, allocations: 380.2 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-05/0.2095, allocations: 105.2 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.2096, allocations: 101 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.146e-05/0.2097, allocations: 184.3 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-05/0.2098, allocations: 184.2 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.19e-05/0.2098, allocations: 180.3 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.952e-05/0.2099, allocations: 188.1 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.2101, allocations: 303.8 kB / 0.734 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.2102, allocations: 108.9 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2103, allocations: 180.3 kB / 0.7343 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.2104, allocations: 108.9 kB / 0.7344 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2105, allocations: 184.2 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.06e-05/0.2106, allocations: 109 kB / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.2106, allocations: 75.28 kB / 0.7347 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2106, allocations: 3.938 kB / 0.7347 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000307/0.2109, allocations: 0 / 0.7347 GB, free: 9.965 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.0005783/0.2115, allocations: 0.8048 MB / 0.7355 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.179e-05/0.2116, allocations: 4 kB / 0.7355 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2116, allocations: 4.094 kB / 0.7355 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-06/0.2116, allocations: 7.938 kB / 0.7355 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.212, allocations: 455.6 kB / 0.7359 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.2135, allocations: 1.528 MB / 0.7374 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.828e-05/0.2135, allocations: 55.36 kB / 0.7375 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.568e-06/0.2136, allocations: 0 / 0.7375 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.2136, allocations: 7.438 kB / 0.7375 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.2136, allocations: 0 / 0.7375 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.2436, allocations: 1.417 MB / 0.7389 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.3, allocations: 13.08 kB / 0.7389 GB, free: 5.691 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.337148338090628] Failed to read output from testmodel.py, exit status != 0: 11.412093758117408 11.442886789 11.231206327 Calling exit ...