Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.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.002013/0.002013, 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.003082/0.003082, allocations: 211.1 kB / 22.99 MB, free: 4.609 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9781/0.9781, allocations: 149.9 MB / 463 MB, free: 10.39 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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",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.003581/0.003581, allocations: 61.19 kB / 0.6411 GB, free: 10.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2154, allocations: 89.18 MB / 0.7281 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002842/0.2182, allocations: 1.415 MB / 0.7295 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003502/0.2217, allocations: 2.398 MB / 0.7319 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.2218, allocations: 4 kB / 0.7319 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.2236, allocations: 0.5434 MB / 0.7324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.283e-05/0.2237, allocations: 23.84 kB / 0.7324 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.538e-06/0.2237, allocations: 0 / 0.7324 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.224, allocations: 162.9 kB / 0.7326 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.224, allocations: 8.594 kB / 0.7326 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.651e-05/0.2241, allocations: 67.7 kB / 0.7327 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.2243, allocations: 75.59 kB / 0.7327 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2243, allocations: 0 / 0.7327 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.2253, allocations: 415.5 kB / 0.7331 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.2254, allocations: 35.78 kB / 0.7332 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.2255, allocations: 71.55 kB / 0.7332 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.2261, allocations: 446 kB / 0.7336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2261, allocations: 0 / 0.7336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2261, allocations: 0 / 0.7336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2261, allocations: 0 / 0.7336 GB, free: 11.43 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007605/0.2269, allocations: 488.7 kB / 0.7341 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2269, allocations: 12.03 kB / 0.7341 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.413e-05/0.227, allocations: 110 kB / 0.7342 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.2272, allocations: 104 kB / 0.7343 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2274, allocations: 256.5 kB / 0.7346 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.723e-05/0.2275, allocations: 154.9 kB / 0.7347 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.2276, allocations: 158.9 kB / 0.7349 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.785e-05/0.2276, allocations: 101.5 kB / 0.735 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.2277, allocations: 79.22 kB / 0.735 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.2277, allocations: 158.5 kB / 0.7352 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-05/0.2278, allocations: 150.6 kB / 0.7353 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.2279, allocations: 150.6 kB / 0.7355 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.2283, allocations: 0.5085 MB / 0.736 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.2284, allocations: 165.1 kB / 0.7361 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.2285, allocations: 84.14 kB / 0.7362 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.2285, allocations: 87.2 kB / 0.7363 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.089e-05/0.2286, allocations: 105.8 kB / 0.7364 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2286, allocations: 0 / 0.7364 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001845/0.2287, allocations: 53.5 kB / 0.7365 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.2288, allocations: 134.7 kB / 0.7366 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.2293, allocations: 429.3 kB / 0.737 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2293, allocations: 25.7 kB / 0.737 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2294, allocations: 132.6 kB / 0.7371 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.2294, allocations: 0 / 0.7371 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/0.2295, allocations: 93.59 kB / 0.7372 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2297, allocations: 342.8 kB / 0.7376 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.2298, allocations: 100.6 kB / 0.7377 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.23, allocations: 169.8 kB / 0.7378 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.2303, allocations: 301.6 kB / 0.7381 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2303, allocations: 4 kB / 0.7381 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005231/0.2308, allocations: 329 kB / 0.7384 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2309, allocations: 11.94 kB / 0.7384 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2309, allocations: 0 / 0.7384 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2309, allocations: 4 kB / 0.7384 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.417e-06/0.2309, allocations: 3.984 kB / 0.7384 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2309, allocations: 4 kB / 0.7384 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.231, allocations: 47.73 kB / 0.7385 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2311, allocations: 4 kB / 0.7385 GB, free: 6.207 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002633/0.2313, allocations: 247 kB / 0.7387 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.2314, allocations: 128.7 kB / 0.7389 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.68e-05/0.2315, allocations: 126.8 kB / 0.739 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.108e-05/0.2316, allocations: 176.3 kB / 0.7391 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-05/0.2316, allocations: 176.3 kB / 0.7393 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-05/0.2317, allocations: 184.2 kB / 0.7395 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.232, allocations: 444.2 kB / 0.7399 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/0.2321, allocations: 109.1 kB / 0.74 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.2321, allocations: 113 kB / 0.7401 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.2322, allocations: 180.2 kB / 0.7403 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/0.2323, allocations: 184.2 kB / 0.7405 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.188e-05/0.2324, allocations: 184.2 kB / 0.7406 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.405e-05/0.2325, allocations: 184.1 kB / 0.7408 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.2326, allocations: 319.7 kB / 0.7411 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/0.2327, allocations: 132.7 kB / 0.7413 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2328, allocations: 180.2 kB / 0.7414 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.233, allocations: 104.9 kB / 0.7415 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.233, allocations: 180.3 kB / 0.7417 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.2331, allocations: 113 kB / 0.7418 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002792/0.2334, allocations: 283.1 kB / 0.7421 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2334, allocations: 0 / 0.7421 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003907/0.2338, allocations: 83.92 kB / 0.7422 GB, free: 2.262 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.00071/0.2345, allocations: 0.9567 MB / 0.7431 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.2347, allocations: 119.9 kB / 0.7432 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2347, allocations: 0 / 0.7432 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.2347, allocations: 3.938 kB / 0.7432 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.2351, allocations: 467 kB / 0.7437 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.2382, allocations: 2.937 MB / 0.7465 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.2383, allocations: 168.1 kB / 0.7467 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.231e-05/0.2384, allocations: 0 / 0.7467 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.2384, allocations: 63.41 kB / 0.7467 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.2384, allocations: 0 / 0.7467 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.2734, allocations: 7.037 MB / 0.7536 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.69, allocations: 5.891 kB / 0.7536 GB, free: 6.523 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med_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_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.050648415926844] Failed to read output from testmodel.py, exit status != 0: 11.804655550047755 12.230753337 12.000690845 Calling exit ...