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.001638/0.001638, allocations: 119 kB / 19.69 MB, free: 2.199 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.002045/0.002045, allocations: 224.3 kB / 23.01 MB, free: 5.051 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.974/0.974, allocations: 150 MB / 463.2 MB, free: 10.44 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.002025/0.002025, allocations: 62.97 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2158, allocations: 89.18 MB / 0.7284 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002098/0.2179, allocations: 0.5284 MB / 0.7289 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.868e-05/0.218, allocations: 4 kB / 0.7289 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.218, allocations: 4 kB / 0.7289 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.2181, allocations: 0 / 0.7289 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.12e-05/0.2181, allocations: 0 / 0.7289 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.081e-05/0.2181, allocations: 0 / 0.7289 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.2182, allocations: 7.938 kB / 0.7289 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.2183, allocations: 3.984 kB / 0.7289 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.2183, allocations: 7.938 kB / 0.7289 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.221e-05/0.2183, allocations: 0 / 0.7289 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.2183, allocations: 0 / 0.7289 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.2183, allocations: 0 / 0.7289 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.2183, allocations: 7.984 kB / 0.7289 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.2184, allocations: 4 kB / 0.7289 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.858e-05/0.2184, allocations: 3.938 kB / 0.7289 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2184, allocations: 0 / 0.7289 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2184, allocations: 0 / 0.7289 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2185, allocations: 0 / 0.7289 GB, free: 0.6289 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.0003245/0.2188, allocations: 242.7 kB / 0.7292 GB, free: 368 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2188, allocations: 8.031 kB / 0.7292 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.2189, allocations: 38.69 kB / 0.7292 GB, free: 312 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.893e-05/0.2189, allocations: 0.9375 kB / 0.7292 GB, free: 312 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.219, allocations: 106.5 kB / 0.7293 GB, free: 180 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.219, allocations: 4.375 kB / 0.7293 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.219, allocations: 384 / 0.7293 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/0.2191, allocations: 30.27 kB / 0.7293 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2191, allocations: 3.938 kB / 0.7293 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.2191, allocations: 0 / 0.7293 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2191, allocations: 0 / 0.7293 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.2191, allocations: 3.938 kB / 0.7293 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.2195, allocations: 358.5 kB / 0.7297 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.2196, allocations: 177.1 kB / 0.7299 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.2197, allocations: 80.14 kB / 0.7299 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.2197, allocations: 79.22 kB / 0.73 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.2198, allocations: 113.8 kB / 0.7301 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2198, allocations: 0 / 0.7301 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.52e-05/0.2198, allocations: 25.7 kB / 0.7301 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.2199, allocations: 130.7 kB / 0.7303 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.22, allocations: 93.86 kB / 0.7304 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.22, allocations: 25.7 kB / 0.7304 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.22, allocations: 84.14 kB / 0.7305 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.22, allocations: 0 / 0.7305 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.2201, allocations: 13.84 kB / 0.7305 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2202, allocations: 314.8 kB / 0.7308 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-06/0.2202, allocations: 0 / 0.7308 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.2202, allocations: 3.938 kB / 0.7308 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/0.2202, allocations: 79.28 kB / 0.7308 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/0.2203, allocations: 79.22 kB / 0.7309 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.545e-05/0.2203, allocations: 25.7 kB / 0.731 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.2204, allocations: 87.22 kB / 0.731 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/0.2204, allocations: 83.28 kB / 0.7311 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.942e-05/0.2205, allocations: 154.5 kB / 0.7313 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.353e-05/0.2205, allocations: 75.28 kB / 0.7313 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.229e-05/0.2206, allocations: 154.5 kB / 0.7315 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.159e-05/0.2207, allocations: 83.27 kB / 0.7316 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.2207, allocations: 75.28 kB / 0.7316 GB, free: 13.65 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.2209, allocations: 268.3 kB / 0.7319 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.2209, allocations: 109 kB / 0.732 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/0.221, allocations: 108.2 kB / 0.7321 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-05/0.2211, allocations: 184.2 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.163e-05/0.2212, allocations: 176.3 kB / 0.7324 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.422e-05/0.2213, allocations: 184.3 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.2215, allocations: 380.1 kB / 0.733 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-05/0.2216, allocations: 105.2 kB / 0.7331 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.2216, allocations: 108.9 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-05/0.2217, allocations: 180.3 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.762e-05/0.2218, allocations: 184.2 kB / 0.7335 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.277e-05/0.2219, allocations: 184.3 kB / 0.7337 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-05/0.222, allocations: 184.2 kB / 0.7339 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.2222, allocations: 303.7 kB / 0.7342 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.2222, allocations: 108.9 kB / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.2223, allocations: 188.2 kB / 0.7345 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.2224, allocations: 105 kB / 0.7346 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.2225, allocations: 184.2 kB / 0.7347 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.2225, allocations: 101 kB / 0.7348 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.2226, allocations: 83.28 kB / 0.7349 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2226, allocations: 0 / 0.7349 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002768/0.2229, allocations: 4.094 kB / 0.7349 GB, free: 10.09 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.0004981/0.2234, allocations: 0.8047 MB / 0.7357 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.218e-05/0.2234, allocations: 4 kB / 0.7357 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2234, allocations: 0 / 0.7357 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.2234, allocations: 8 kB / 0.7357 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.2238, allocations: 451.7 kB / 0.7361 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.225, allocations: 1.53 MB / 0.7376 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2253, allocations: 0.6767 MB / 0.7383 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.197e-06/0.2253, allocations: 3.938 kB / 0.7383 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.2253, allocations: 15.53 kB / 0.7383 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.2253, allocations: 0 / 0.7383 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.2536, allocations: 1.005 MB / 0.7393 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.87, allocations: 3.984 kB / 0.7393 GB, free: 5.598 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: 14.89186114200129] Failed to read output from testmodel.py, exit status != 0: 10.97179348699865 10.99493957 10.772010366 Calling exit ...