Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 102 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 245 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.114/1.114, allocations: 173.4 MB / 470.7 MB, free: 13.76 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 76.97 kB / 0.6478 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1991, allocations: 89.53 MB / 0.7352 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002649/0.2018, allocations: 1.385 MB / 0.7366 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002533/0.2044, allocations: 1.927 MB / 0.7385 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.2044, allocations: 0 / 0.7385 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.2054, allocations: 389 kB / 0.7388 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.2055, allocations: 15.91 kB / 0.7389 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.937e-06/0.2055, allocations: 4 kB / 0.7389 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2058, allocations: 131.1 kB / 0.739 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.336e-05/0.2058, allocations: 25.48 kB / 0.739 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.2059, allocations: 35.86 kB / 0.739 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.206, allocations: 63.7 kB / 0.7391 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.206, allocations: 4 kB / 0.7391 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.2066, allocations: 179.9 kB / 0.7393 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.2066, allocations: 35.83 kB / 0.7393 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.2067, allocations: 71.61 kB / 0.7394 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.2072, allocations: 299 kB / 0.7397 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2072, allocations: 0 / 0.7397 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2072, allocations: 0 / 0.7397 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.537e-06/0.2072, allocations: 0 / 0.7397 GB, free: 13.71 MB / 0.5762 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.0007392/0.208, allocations: 0.4905 MB / 0.7402 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.208, allocations: 12.03 kB / 0.7402 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.2081, allocations: 106 kB / 0.7403 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.2083, allocations: 96.12 kB / 0.7404 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.2085, allocations: 295.4 kB / 0.7406 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.054e-05/0.2086, allocations: 150.9 kB / 0.7408 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.2087, allocations: 158.9 kB / 0.7409 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.387e-05/0.2088, allocations: 108.9 kB / 0.741 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.2088, allocations: 75.28 kB / 0.7411 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.2089, allocations: 154.6 kB / 0.7413 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/0.209, allocations: 162.5 kB / 0.7414 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.2091, allocations: 150.6 kB / 0.7416 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.2095, allocations: 0.5133 MB / 0.7421 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.2096, allocations: 169.1 kB / 0.7422 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.2096, allocations: 80.14 kB / 0.7423 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.2097, allocations: 83.22 kB / 0.7424 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.2097, allocations: 109.8 kB / 0.7425 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2097, allocations: 0 / 0.7425 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001715/0.2099, allocations: 45.59 kB / 0.7425 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.21, allocations: 134.7 kB / 0.7427 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.2104, allocations: 322.4 kB / 0.743 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.2104, allocations: 25.7 kB / 0.743 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.2106, allocations: 120.5 kB / 0.7431 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.2106, allocations: 0 / 0.7431 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.2107, allocations: 65.69 kB / 0.7432 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2108, allocations: 330.8 kB / 0.7435 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.2109, allocations: 63.89 kB / 0.7435 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2111, allocations: 122 kB / 0.7437 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.2113, allocations: 201.9 kB / 0.7438 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2113, allocations: 0 / 0.7438 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004422/0.2118, allocations: 245.2 kB / 0.7441 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2118, allocations: 8 kB / 0.7441 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2118, allocations: 0 / 0.7441 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2118, allocations: 4 kB / 0.7441 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-06/0.2118, allocations: 3.984 kB / 0.7441 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2118, allocations: 4.078 kB / 0.7441 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.212, allocations: 31.73 kB / 0.7441 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.212, allocations: 7.984 kB / 0.7441 GB, free: 8.844 MB / 0.5762 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.0002409/0.2122, allocations: 233.2 kB / 0.7444 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.479e-05/0.2123, allocations: 120.8 kB / 0.7445 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.2124, allocations: 109.6 kB / 0.7446 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.736e-05/0.2125, allocations: 192.2 kB / 0.7448 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.193e-05/0.2126, allocations: 180.2 kB / 0.7449 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-05/0.2127, allocations: 180.2 kB / 0.7451 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.213, allocations: 453.2 kB / 0.7455 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.28e-05/0.2131, allocations: 108.9 kB / 0.7456 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.75e-05/0.2132, allocations: 104.9 kB / 0.7457 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.063e-05/0.2132, allocations: 176.3 kB / 0.7459 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/0.2133, allocations: 180.2 kB / 0.7461 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.901e-05/0.2134, allocations: 196.2 kB / 0.7463 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.278e-05/0.2135, allocations: 176.3 kB / 0.7464 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.2137, allocations: 315.9 kB / 0.7467 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.2139, allocations: 209.9 kB / 0.7469 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.214, allocations: 184.3 kB / 0.7471 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.2141, allocations: 105 kB / 0.7472 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.2142, allocations: 180.2 kB / 0.7474 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.2143, allocations: 109 kB / 0.7475 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002425/0.2145, allocations: 209.9 kB / 0.7477 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2145, allocations: 0 / 0.7477 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003785/0.2149, allocations: 67.92 kB / 0.7478 GB, free: 4.906 MB / 0.5762 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.0007081/0.2156, allocations: 0.9177 MB / 0.7487 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.2158, allocations: 107.9 kB / 0.7488 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2159, allocations: 0 / 0.7488 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.2159, allocations: 0 / 0.7488 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.2163, allocations: 460.2 kB / 0.7492 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.2191, allocations: 2.449 MB / 0.7516 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.2196, allocations: 0.7372 MB / 0.7523 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.2197, allocations: 7.984 kB / 0.7523 GB, free: 64 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.2197, allocations: 39.42 kB / 0.7523 GB, free: 28 kB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.2197, allocations: 0 / 0.7523 GB, free: 28 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3773/0.5971, allocations: 4.823 MB / 0.7571 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.604, allocations: 21.11 kB / 0.7571 GB, free: 18.51 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.46770682092756] Failed to read output from testmodel.py, exit status != 0: 8.674731472041458 8.697844292 8.486260784 Calling exit ...