Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001189/0.001189, allocations: 113.9 kB / 17.6 MB, free: 4.668 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.00125/0.00125, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.431/1.431, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.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.104/1.104, allocations: 175.7 MB / 480.2 MB, free: 3.148 MB / 366.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_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.89 kB / 0.6679 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1913, allocations: 94.53 MB / 0.7602 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002709/0.194, allocations: 1.418 MB / 0.7616 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.1975, allocations: 2.717 MB / 0.7642 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.1976, allocations: 4 kB / 0.7642 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.1992, allocations: 0.5869 MB / 0.7648 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.1992, allocations: 31.89 kB / 0.7648 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.519e-06/0.1992, allocations: 0 / 0.7648 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1995, allocations: 151 kB / 0.765 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.941e-05/0.1996, allocations: 16.34 kB / 0.765 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.049e-05/0.1997, allocations: 59.72 kB / 0.7651 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1998, allocations: 79.58 kB / 0.7651 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1998, allocations: 0 / 0.7651 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.2009, allocations: 475.2 kB / 0.7656 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.2009, allocations: 35.83 kB / 0.7656 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.201, allocations: 103.4 kB / 0.7657 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.2017, allocations: 434.1 kB / 0.7661 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2017, allocations: 0 / 0.7661 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2017, allocations: 8 kB / 0.7661 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.2017, allocations: 0 / 0.7661 GB, free: 10.72 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.0008206/0.2025, allocations: 0.5525 MB / 0.7667 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2026, allocations: 8.031 kB / 0.7667 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.49e-05/0.2026, allocations: 110 kB / 0.7668 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.2028, allocations: 100 kB / 0.7669 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.2031, allocations: 310.4 kB / 0.7672 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.2032, allocations: 162.9 kB / 0.7673 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.2032, allocations: 150.9 kB / 0.7675 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.206e-05/0.2033, allocations: 101.5 kB / 0.7676 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.2034, allocations: 79.22 kB / 0.7677 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.2034, allocations: 150.6 kB / 0.7678 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-05/0.2035, allocations: 158.6 kB / 0.7679 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.2036, allocations: 154.6 kB / 0.7681 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.204, allocations: 0.5289 MB / 0.7686 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.2041, allocations: 177.1 kB / 0.7688 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.2042, allocations: 88.14 kB / 0.7689 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.2042, allocations: 75.28 kB / 0.7689 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.562e-05/0.2043, allocations: 105.8 kB / 0.769 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2043, allocations: 3.938 kB / 0.769 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001842/0.2045, allocations: 61.48 kB / 0.7691 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.2045, allocations: 126.7 kB / 0.7692 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.2051, allocations: 437.3 kB / 0.7696 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.2051, allocations: 29.64 kB / 0.7697 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2052, allocations: 136.6 kB / 0.7698 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.2052, allocations: 0 / 0.7698 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.2053, allocations: 89.66 kB / 0.7699 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.2055, allocations: 338.8 kB / 0.7702 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.2056, allocations: 100.5 kB / 0.7703 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.2058, allocations: 169.3 kB / 0.7705 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.2062, allocations: 301.6 kB / 0.7707 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2062, allocations: 4 kB / 0.7708 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005404/0.2067, allocations: 325.1 kB / 0.7711 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2068, allocations: 13.97 kB / 0.7711 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2068, allocations: 4.219 kB / 0.7711 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.2068, allocations: 7.938 kB / 0.7711 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-06/0.2068, allocations: 3.984 kB / 0.7711 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2068, allocations: 4 kB / 0.7711 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2069, allocations: 43.52 kB / 0.7711 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.207, allocations: 4 kB / 0.7711 GB, free: 5.297 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.0003016/0.2073, allocations: 241.1 kB / 0.7714 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2074, allocations: 136.7 kB / 0.7715 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.2075, allocations: 111 kB / 0.7716 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.846e-05/0.2076, allocations: 180.3 kB / 0.7718 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001123/0.2077, allocations: 188.1 kB / 0.772 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-05/0.2078, allocations: 176.3 kB / 0.7721 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.2081, allocations: 477.1 kB / 0.7726 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.078e-05/0.2082, allocations: 109 kB / 0.7727 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.2082, allocations: 108.9 kB / 0.7728 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.805e-05/0.2083, allocations: 180.2 kB / 0.773 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.745e-05/0.2084, allocations: 176.3 kB / 0.7731 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-05/0.2085, allocations: 180.2 kB / 0.7733 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.103e-05/0.2086, allocations: 184.5 kB / 0.7735 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.2088, allocations: 335.6 kB / 0.7738 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.2089, allocations: 201.9 kB / 0.774 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.209, allocations: 192.1 kB / 0.7742 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.2092, allocations: 105 kB / 0.7743 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.2093, allocations: 188.2 kB / 0.7745 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.2094, allocations: 101 kB / 0.7745 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002996/0.2097, allocations: 275.1 kB / 0.7748 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2097, allocations: 0 / 0.7748 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004249/0.2101, allocations: 91.86 kB / 0.7749 GB, free: 1.227 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.0007849/0.2109, allocations: 0.9604 MB / 0.7758 GB, free: 248 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.2111, allocations: 119.9 kB / 0.7759 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2111, allocations: 0 / 0.7759 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.2111, allocations: 0 / 0.7759 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.2116, allocations: 465.6 kB / 0.7764 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.2149, allocations: 2.944 MB / 0.7793 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.2154, allocations: 0.7782 MB / 0.78 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.2154, allocations: 4 kB / 0.78 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.2155, allocations: 47.42 kB / 0.7801 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.2155, allocations: 4 kB / 0.7801 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.2474, allocations: 6.436 MB / 0.7864 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/8.673, allocations: 7.891 kB / 0.7864 GB, free: 5.383 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.524492825003108] Failed to read output from testmodel.py, exit status != 0: 8.746718462003628 8.772845071 8.566399718 Calling exit ...